noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 250/323: Manage_Table_SQL : fix when not valu


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 250/323: Manage_Table_SQL : fix when not value is selected
Date: Wed, 14 Mar 2018 17:38:59 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 06f7537ade38fb3c6365ed41fba0a324390ef668
Author: Dany De Bontridder <address@hidden>
Date:   Sat Feb 24 13:37:07 2018 +0100

    Manage_Table_SQL : fix when  not value is selected
---
 include/lib/manage_table_sql.class.php | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/include/lib/manage_table_sql.class.php 
b/include/lib/manage_table_sql.class.php
index 2d1b9f1..fc42f21 100644
--- a/include/lib/manage_table_sql.class.php
+++ b/include/lib/manage_table_sql.class.php
@@ -807,7 +807,11 @@ function check()
                 if ( $this->get_col_type($v)=="select")
                 {
                     $idx=$p_row[$v];
-                   echo td($this->a_select[$v][$idx]["label"]);
+                    if ( ! isset($this->a_select[$v][$idx])) {
+                        echo td("--");
+                    } else {
+                        echo td($this->a_select[$v][$idx]["label"]);
+                    }
                     
                 }else {
                     echo td($p_row[$v]);



reply via email to

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