]> git.mxchange.org Git - friendica.git/blobdiff - testargs.php
Fix notice in Util\Network
[friendica.git] / testargs.php
index 8c6da430e95900634717a8b26aa225413b7f0e0a..a0ddea34524f7dd5962b5af2eaf77c40c3e135fc 100644 (file)
@@ -15,9 +15,8 @@
  */
 
 
-if(($argc > 1) && isset($argv[1]))
-       echo $argv[1];
-elseif(($_SERVER["argc"] > 1) && isset($_SERVER["argv"][1]))
+if (($_SERVER["argc"] > 1) && isset($_SERVER["argv"][1])) {
        echo $_SERVER["argv"][1];
-else
+} else {
        echo '';
+}