From 6d2cd902b81bda9eb9a316da8db11d5672566b1c Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 26 May 2011 13:15:02 +0000 Subject: [PATCH] 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 --- gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2