1
1
Fork 0

provide separate plugin settings page, update demo plugin, fix hook_register

This commit is contained in:
Friendika 2010-12-24 23:44:17 -08:00
commit d045fd04d4
8 changed files with 40 additions and 8 deletions

View file

@ -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)