Florian Schaal
2013-12-24 fbeb11d1d0f491cd4b9a9d730fdc720e758ae26d
interface/web/client/client_message.php
@@ -65,7 +65,7 @@
            $tmp_client_ids = explode(',', $circle['client_ids']);
            $where = array();
            foreach($tmp_client_ids as $tmp_client_id){
               $where[] = 'client_id = '.$tmp_client_id;
               $where[] = 'client_id = '.$app->functions->intval($tmp_client_id);
            }
            if(!empty($where)) $where_clause = ' AND ('.implode(' OR ', $where).')';
            $sql = "SELECT * FROM client WHERE email != ''".$where_clause;