Fix add_def_pref hook (for new accounts only, the others are still broken)

This commit is contained in:
zone 2001-06-21 05:49:58 +00:00
parent 0f204e662e
commit 7da0e5efb8

View File

@ -180,7 +180,7 @@
{ {
if ($apps[0] != 'admin') if ($apps[0] != 'admin')
{ {
$phpgw->common->hook_single('add_def_pref', $apps[0]); $phpgw->common->hook_single('add_def_pref', $apps[1]);
} }
} }
$pref->save_repository(False); $pref->save_repository(False);