mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 08:28:43 +01:00
Fixed preferences hooks not being included
This commit is contained in:
parent
af81ed5a8a
commit
2a7a4229e1
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user