Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 785 → Rev 786

/trunk/services/modules/0.1/images/VotesImage.php
125,8 → 125,8
* */
private function chargerClauseWhere() {
$where[] = 'WHERE ce_image = '.$this->proteger($this->ressources[0]);
if (isset($this->parametres['masque.protocole'])) {
$where[] = 'ce_protocole = '.$this->proteger($this->parametres['masque.protocole']);
if (isset($this->parametres['protocole'])) {
$where[] = 'ce_protocole = '.$this->proteger($this->parametres['protocole']);
}
return implode(' AND ', $where);
}