Debug
This commit is contained in:
parent
0b1bfe2ca7
commit
f402466a20
@ -30,8 +30,10 @@ class IndexController extends Zend_Controller_Action
|
||||
->where("dateStop != '0000-00-00 00:00:00'")
|
||||
->where("error = ''")
|
||||
->order('dateStart DESC');
|
||||
if ( $idClient ) {
|
||||
|
||||
if ( intval($idClient)!=0 ) {
|
||||
$sql->where('fichier LIKE '.$idClient.'-%');
|
||||
$sql->__toString();
|
||||
} else {
|
||||
$sql->limit(5);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user