Code

Fixed problem with listing of fax details. The entry id is NOT an integer nor float.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 26 May 2011 13:15:02 +0000 (13:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 26 May 2011 13:15:02 +0000 (13:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20895 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc

index e835ba5ea7b2234dc038032ef1a4df71a71e1198..1990dd30d9a69ab5c45d5c570a2fbc42391aaffa 100644 (file)
@@ -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);