X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FPostDebug%2FPostDebugPlugin.php;h=72492deacac968b14b304d394a3a39211bba2ccb;hb=HEAD;hp=120feee8fe0c88c92260d683ad44f3822a910cd3;hpb=6267e7a9306c6e974789df56cf02b0050a9943c1;p=quix0rs-gnu-social.git diff --git a/plugins/PostDebug/PostDebugPlugin.php b/plugins/PostDebug/PostDebugPlugin.php index 120feee8fe..72492deaca 100644 --- a/plugins/PostDebug/PostDebugPlugin.php +++ b/plugins/PostDebug/PostDebugPlugin.php @@ -40,7 +40,7 @@ class PostDebugPlugin extends Plugin */ public $dir=false; - public function onArgsInitialize(&$args) + public function onArgsInitialize(array &$args) { if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] == 'POST') { @@ -81,7 +81,7 @@ class PostDebugPlugin extends Plugin $file = $this->dir . DIRECTORY_SEPARATOR . $this->logFileName(); file_put_contents($file, $output); } else { - common_log(LOG_DEBUG, "PostDebug: $output"); + common_debug("PostDebug: $output"); } }