noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 35/323: Bug in Manage_Table_SQL when an excep


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 35/323: Bug in Manage_Table_SQL when an exception is thrown from ajax_input
Date: Wed, 14 Mar 2018 17:38:14 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 27d63f01048c0f35fc2301ffab51316b93b27d0e
Author: Dany De Bontridder <address@hidden>
Date:   Tue Jan 9 14:15:21 2018 +0100

    Bug in Manage_Table_SQL when an exception is thrown from ajax_input
---
 include/lib/manage_table_sql.class.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/lib/manage_table_sql.class.php 
b/include/lib/manage_table_sql.class.php
index 22c4ff6..d4f113d 100644
--- a/include/lib/manage_table_sql.class.php
+++ b/include/lib/manage_table_sql.class.php
@@ -961,15 +961,15 @@ function check()
         catch (Exception $ex)
         {
             $s1=$xml->createElement("status", "NOK");
-            $s2=$xml->createElement("ctl", $this->object_name);
+            $s3=$xml->createElement("ctl", $this->object_name);
             $s2=$xml->createElement("ctl_row",
                     $this->object_name+"_"+$this->table->get_pk_value());
-            $s3=$xml->createElement("html", $ex->getTraceAsString());
+            $s4=$xml->createElement("html", $ex->getTraceAsString());
+            
             $root=$xml->createElement("data");
             $root->appendChild($s1);
             $root->appendChild($s2);
             $root->appendChild($s3);
-            $root->appendChild($s4);
         }
         $xml->appendChild($root);
         return $xml;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]