Fixed preferences hooks not being included

This commit is contained in:
jengo 2001-03-14 12:17:24 +00:00
parent af81ed5a8a
commit 2a7a4229e1

View File

@ -737,7 +737,7 @@
$f .= '.inc.php';
}
if (file_exists($f) && $phpgw_info['user']['apps'][$appname])
if (file_exists($f) && ($phpgw_info['user']['apps'][$appname] || $appname == 'preferences'))
{
include($f);
}
@ -761,7 +761,7 @@
$f .= '.inc.php';
}
if (file_exists($f) && $phpgw_info['user']['apps'][$appname])
if (file_exists($f) && ($phpgw_info['user']['apps'][$appname] || $appname == 'preferences'))
{
include($f);
}