]> git.mxchange.org Git - friendica.git/blobdiff - include/plugin.php
plugin: orphaned hooks weren't deleted.
[friendica.git] / include / plugin.php
index 9795cacf92019116a439edee50ef28faca5713c3..b89cb2c53dc4cb0ef6089fc16972b4b0db5d587b 100644 (file)
@@ -175,7 +175,7 @@ function call_hooks($name, &$data = null) {
                        }
                        else {
                                // remove orphan hooks
-                               q("delete from hook where hook = '%s' and file = '$s' and function = '%s' limit 1",
+                               q("delete from hook where hook = '%s' and file = '%s' and function = '%s' limit 1",
                                        dbesc($name),
                                        dbesc($hook[0]),
                                        dbesc($hook[1])