diff options
author | Friendika <info@friendika.com> | 2010-12-24 23:44:17 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-12-24 23:44:17 -0800 |
commit | d045fd04d4b42a749a113dd27f439f9766800975 (patch) | |
tree | 78ab3b0ecaea1695249fe862bf051d1d616937dc /boot.php | |
parent | 6891d44e0b765d230bd3b483c5e283647947c4cb (diff) | |
download | volse-hubzilla-d045fd04d4b42a749a113dd27f439f9766800975.tar.gz volse-hubzilla-d045fd04d4b42a749a113dd27f439f9766800975.tar.bz2 volse-hubzilla-d045fd04d4b42a749a113dd27f439f9766800975.zip |
provide separate plugin settings page, update demo plugin, fix hook_register
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2047,7 +2047,7 @@ function profile_sidebar($profile) { if(! function_exists('register_hook')) { function register_hook($hook,$file,$function) { - $r = q("SELECT FROM `hook` WHERE `hook` = '%s' AND `file` = '%s' AND `function` = '%s' LIMIT 1", + $r = q("SELECT * FROM `hook` WHERE `hook` = '%s' AND `file` = '%s' AND `function` = '%s' LIMIT 1", dbesc($hook), dbesc($file), dbesc($function) |