Correction envoie mail
This commit is contained in:
parent
8b094379ca
commit
e3d85f7946
4 changed files with 32 additions and 11 deletions
|
|
@ -22,10 +22,18 @@
|
|||
FROM category";
|
||||
|
||||
if ($intLimit > 0){
|
||||
$strRq .= " LIMIT ".$intLimit;
|
||||
$strRq .= " LIMIT :limit";
|
||||
}
|
||||
|
||||
return $this->_db->query($strRq)->fetchAll();
|
||||
$rqPrep = $this->_db->prepare($strRq);
|
||||
|
||||
if ($intLimit > 0){
|
||||
$rqPrep->bindValue(":limit", $intLimit, PDO::PARAM_INT);
|
||||
}
|
||||
|
||||
$rqPrep->execute();
|
||||
|
||||
return $rqPrep->fetchAll();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue