]> git.mxchange.org Git - friendica-addons.git/commitdiff
pumpio: prevent a warning message because of a missing parameter
authorMichael Vogel <icarus@dabo.de>
Mon, 25 Aug 2014 12:19:09 +0000 (14:19 +0200)
committerMichael Vogel <icarus@dabo.de>
Mon, 25 Aug 2014 12:19:09 +0000 (14:19 +0200)
pumpio/pumpio.php

index 0d7786c153a56bb5f0b1d025101267f3bb1da809..55d0433a1b4295e3060da314c3be365f52e768d1 100644 (file)
@@ -521,7 +521,7 @@ function pumpio_send(&$a,&$b) {
        }
 }
 
-function pumpio_action(&$a, $uid, $uri, $action, $content) {
+function pumpio_action(&$a, $uid, $uri, $action, $content = "") {
 
        // Don't do likes and other stuff if you don't import the timeline
        if (!get_pconfig($uid,'pumpio','import'))