]> git.mxchange.org Git - friendica.git/commitdiff
Remove wrong by reference variable init in Console\DocBloxErrorChecker
authorHypolite Petovan <mrpetovan@gmail.com>
Sun, 18 Mar 2018 17:26:14 +0000 (13:26 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Sun, 18 Mar 2018 17:26:14 +0000 (13:26 -0400)
src/Core/Console/DocBloxErrorChecker.php

index 2a9aa024f96e1aeb312ec1a3cd5f4389312c92a7..922a5ed056b97115c6c4d1870abe028e043fe56d 100644 (file)
@@ -123,7 +123,7 @@ HELP;
        private function commandExists($command)\r
        {\r
                $prefix = strpos(strtolower(PHP_OS),'win') > -1 ? 'where' : 'which';\r
-               exec("{$prefix} {$command}", $output = [], $returnVal = 0);\r
+               exec("{$prefix} {$command}", $output, $returnVal);\r
                return $returnVal === 0;\r
        }\r
 \r