[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]);
- [Noalyss-commit] [noalyss] 187/323: SQL : account_repository, (continued)
- [Noalyss-commit] [noalyss] 187/323: SQL : account_repository, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 278/323: New Favicon, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 282/323: CSS : color in selected cell, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 251/323: InPlaceEdit : cosmetic, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 279/323: Suivi : autres action: box déplacée vers la droite, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 272/323: CSS : change selected cell, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 274/323: COSMETIC : hightlight result, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 295/323: install plugin : cosmétique, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 301/323: Some dialog must be fixed, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 294/323: Bug : install plugin, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 250/323: Manage_Table_SQL : fix when not value is selected,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 258/323: indent, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 263/323: Gestion : block search on the current card, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 245/323: Remove obsolete hardcoded sort, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 291/323: Fix position calc for other CSS Sheet, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 308/323: CSS Cosmetic : button with border, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 315/323: Correct bug : Dashboard , zoom action failed, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 319/323: UpgradeCore improve, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 179/323: Documentation INum->prec, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 243/323: ajax_card : warning if there is no category of cards, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 265/323: CSS : table menu use the font SansationLight, Dany De Bontridder, 2018/03/14