data = array(); if(!$deflt_docs_location) return""; $query = "SELECT expl_id FROM exemplaires where expl_retloc='$deflt_docs_location' limit 1"; if($this->is_num_rows_from_query($query)) { $this->add_data('ret_todo', 'alert_circ_retour_todo'); } } }