fix for lost owner selection in manage_states

This commit is contained in:
Klaus Leithoff 2009-07-09 09:49:33 +00:00
parent 617f495266
commit 8a3f20194c

View File

@ -309,7 +309,7 @@ class calendar_ui
}
}
// for the uiforms class (eg. edit), dont store the (new) owner, as it might change the view
if (substr($_GET['menuaction'],0,16) == 'calendar.calendar_uiforms')
if (substr($_GET['menuaction'],0,25) == 'calendar.calendar_uiforms' && $state == 'owner')
{
$this->owner = $set_states[$state];
continue;