From: hickert Date: Thu, 26 May 2011 13:15:02 +0000 (+0000) Subject: Fixed problem with listing of fax details. The entry id is NOT an integer nor float. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6d2cd902b81bda9eb9a316da8db11d5672566b1c;p=gosa.git Fixed problem with listing of fax details. The entry id is NOT an integer nor float. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20895 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc b/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc index e835ba5ea..1990dd30d 100644 --- a/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc +++ b/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc @@ -165,7 +165,7 @@ class faxreport extends plugin // Query for the requested fay entry $query = "SELECT id,uid,date_format(queuing_time, '%Y%m%d%H%i%s') ". "as queuing_time,status,sender_id,sender_msn,receiver_id,". - "receiver_msn,pages,status_message,transfer_time FROM faxlog WHERE id=".$detail.";"; + "receiver_msn,pages,status_message,transfer_time FROM faxlog WHERE id='".$detail."';"; $cfg= $this->config->data['SERVERS']['FAX']; $result = @mysql_query($query);