CC-3587 : index problem in scheduling.

This commit is contained in:
Naomi Aro 2012-04-03 17:56:50 +02:00
parent f2a05adf49
commit d2d45dcae6
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class Application_Model_Scheduler {
$id = $schedItem->getDbId();
$instance = $schedItem->getCcShowInstances($this->con);
if (intval($schedInfo[$id]["instance"]) !== $instance->getDbId()) {
if (intval($schedInfo[$id]) !== $instance->getDbId()) {
throw new OutDatedScheduleException("The schedule you're viewing is out of date!");
}
}