- declare $dms global in add_folder_notify()

This commit is contained in:
steinm 2011-03-23 13:25:22 +00:00
parent bdc087f4bf
commit be04f7ce97

View File

@ -28,6 +28,8 @@ if ($user->isGuest()) {
} }
function add_folder_notify($folder,$userid,$recursefolder,$recursedoc) { function add_folder_notify($folder,$userid,$recursefolder,$recursedoc) {
global $dms;
$folder->addNotify($userid, true); $folder->addNotify($userid, true);
if ($recursedoc){ if ($recursedoc){