error messages for show moving/resizing displayed in an alert.

This commit is contained in:
naomiaro 2011-02-05 22:02:45 -05:00
parent 55eddb133b
commit cb3f4dd31e
2 changed files with 4 additions and 2 deletions

View file

@ -441,7 +441,7 @@ class ShowInstance {
$overlap = Show::getShows($new_starts, $new_ends, array($this->_instanceId));
if(count($overlap) > 0) {
return $overlap;
return "Should not overlap shows";
}
$this->moveScheduledShowContent($deltaDay, $hours, $mins);
@ -471,7 +471,7 @@ class ShowInstance {
$overlap = Show::getShows($ends, $new_ends);
if(count($overlap) > 0) {
return $overlap;
return "Should not overlap shows";
}
}
//have to check if any scheduled content still fits.