Subversion Repositories Applications.referentiel

Compare Revisions

Ignore whitespace Rev 158 → Rev 159

/trunk/services/modules/Traitement.php
85,6 → 85,7
'FROM ref_traitement '.
"WHERE ".(($projet == "'tout'") ? '' : 'referentiel_code = '.$projet.' AND ') .
" script = $script ".
' AND date_debut IS NULL '.
' AND date_fin IS NULL '.
'ORDER BY '.((!is_null($this->orderby)) ? $this->orderby : 'meta_date_creation DESC').' '.
'LIMIT 0,1 ';