aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-24 23:44:17 -0800
committerFriendika <info@friendika.com>2010-12-24 23:44:17 -0800
commitd045fd04d4b42a749a113dd27f439f9766800975 (patch)
tree78ab3b0ecaea1695249fe862bf051d1d616937dc /boot.php
parent6891d44e0b765d230bd3b483c5e283647947c4cb (diff)
downloadvolse-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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index c34002809..7b7adba82 100644
--- a/boot.php
+++ b/boot.php
@@ -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)