tests with qtip,small changes
This commit is contained in:
parent
31570b497a
commit
f1a59f305b
6 changed files with 38 additions and 7 deletions
|
@ -203,7 +203,7 @@ class Show {
|
|||
}
|
||||
if(!is_null($start) && is_null($end)) {
|
||||
$sql_range = "(first_show <= '{$start}' AND last_show IS NULL)
|
||||
OR (last_show > '{$start}')";
|
||||
OR (first_show <= '{$start}' AND last_show > '{$start}')";
|
||||
|
||||
$sql = $sql_gen ." WHERE ". $sql_range;
|
||||
}
|
||||
|
@ -321,7 +321,7 @@ class Show {
|
|||
$event[$key] = $value;
|
||||
}
|
||||
|
||||
if($this->_user->isAdmin() === "A") {
|
||||
if($this->_user->isAdmin()) {
|
||||
$event["editable"] = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue