Fix drag and drop in calendar does not work if there's resources

This commit is contained in:
Hadi Nategh 2016-09-06 16:18:45 +02:00
parent 24d5af7b7a
commit 075a3a6fe5

View File

@ -2799,7 +2799,7 @@ class calendar_uiforms extends calendar_ui
calendar_so::split_status($status,$q,$r);
if ($uid[0] != 'c' && $uid[0] != 'e' && $uid != $this->bo->user && $status != 'U')
{
$preferences = new Api\Preferenes($uid);
$preferences = new Api\Preferences($uid);
$part_prefs = $preferences->read_repository();
switch ($part_prefs['calendar']['reset_stati'])
{