From 348e7842597c3be2a71ed2de3aed8861cf7050c9 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Thu, 12 Oct 2017 20:05:42 +0200 Subject: [PATCH] Fixed inversed syscall return boolean management --- lib/include/php/func | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/include/php/func b/lib/include/php/func index c02d025..60181f9 100755 --- a/lib/include/php/func +++ b/lib/include/php/func @@ -20,9 +20,9 @@ /* (4) Manage result */ if( is_numeric($out) && $out === "0" ) - return false; - elseif( is_numeric($out) && $out === "127" ) return true; + elseif( is_numeric($out) && $out === "127" ) + return false; else return $out; }