CC-3551 : Change Cue Out for currently deleted track

This commit is contained in:
Naomi Aro 2012-03-29 19:20:02 +02:00
parent 6135cbc79f
commit cea37774ca
6 changed files with 41 additions and 43 deletions

View file

@ -75,13 +75,11 @@ class Application_Model_Datatables {
}
try {
$r = $con->query($sqlTotalRows);
Logging::log($sqlTotalRows);
$r = $con->query($sqlTotalRows);
$totalRows = $r->fetchColumn(0);
if (isset($sqlTotalDisplayRows)) {
$r = $con->query($sqlTotalDisplayRows);
Logging::log($sqlTotalDisplayRows);
$r = $con->query($sqlTotalDisplayRows);
$totalDisplayRows = $r->fetchColumn(0);
}
else {
@ -93,11 +91,11 @@ class Application_Model_Datatables {
$results = $r->fetchAll();
}
catch (Exception $e) {
Logging::log($e->getMessage());
Logging::debug($e->getMessage());
}
//display sql executed in airtime log for testing
Logging::log($sql);
//Logging::log($sql);
return array(
"sEcho" => intval($data["sEcho"]),