]> git.mxchange.org Git - friendica.git/commitdiff
Update the return value of Item\Ignore to integer
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 1 Dec 2019 04:15:58 +0000 (23:15 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 1 Dec 2019 04:15:58 +0000 (23:15 -0500)
- Array is unnecessary

src/Module/Item/Ignore.php

index 4590bc8c84c80e3cadc8e2a2962fe7462ce7837f..e67f2113cdaa8a152db2efd91211fb499cd0b548 100644 (file)
@@ -73,6 +73,6 @@ class Ignore extends BaseModule
                }
 
                // the json doesn't really matter, it will either be 0 or 1
-               System::jsonExit([$ignored]);
+               System::jsonExit($ignored);
        }
 }