]> git.mxchange.org Git - friendica.git/blobdiff - mod/fsuggest.php
Merge pull request #2053 from annando/1511-only-supported-themes
[friendica.git] / mod / fsuggest.php
old mode 100755 (executable)
new mode 100644 (file)
index 9ef8f4c..6b1cbd7
@@ -52,7 +52,7 @@ function fsuggest_post(&$a) {
                        );
                        if(count($r)) {
                                $fsuggest_id = $r[0]['id'];
-                               q("UPDATE `fsuggest` SET `note` = '%s' WHERE `id` = %d AND `uid` = %d LIMIT 1",
+                               q("UPDATE `fsuggest` SET `note` = '%s' WHERE `id` = %d AND `uid` = %d",
                                        dbesc($note),
                                        intval($fsuggest_id),
                                        intval(local_user())
@@ -108,4 +108,4 @@ function fsuggest_content(&$a) {
        $o .= '</form>';
 
        return $o;
-}
\ No newline at end of file
+}