]> git.mxchange.org Git - friendica.git/commitdiff
fix for comment on line 117 from github
authorDevlon Duthie <duthied@gmail.com>
Sun, 9 Oct 2011 05:02:24 +0000 (00:02 -0500)
committerDevlon Duthie <duthied@gmail.com>
Sun, 9 Oct 2011 05:02:24 +0000 (00:02 -0500)
mod/ping.php

index 239dd93e7807ede1565a8831166e43ab162252e6..546c46f166b2f73eec81325ed06bc1d870c4640a 100644 (file)
@@ -118,7 +118,7 @@ function ping_init(&$a) {
                function xmlize($href, $name, $url, $photo, $date, $message){
                        $notsxml = '<note href="%s" name="%s" url="%s" photo="%s" date="%s">%s</note>';
                        return sprintf ( $notsxml,
-                                       $href, $name, $url, $photo, $date, $message
+                                       xmlify($href), xmlify($name), xmlify($url), xmlify($photo), xmlify($date), xmlify($message)
                                );
                }