CC-3587 : index problem in scheduling.
This commit is contained in:
parent
f2a05adf49
commit
d2d45dcae6
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class Application_Model_Scheduler {
|
||||||
$id = $schedItem->getDbId();
|
$id = $schedItem->getDbId();
|
||||||
$instance = $schedItem->getCcShowInstances($this->con);
|
$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!");
|
throw new OutDatedScheduleException("The schedule you're viewing is out of date!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue