noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 01/02: cosmetic bug : checkbox unchecked are


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/02: cosmetic bug : checkbox unchecked are not sent
Date: Mon, 29 Feb 2016 10:58:02 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 67bbe9b58eeda83d7f3a061a853256c218827305
Author: Dany De Bontridder <address@hidden>
Date:   Mon Feb 29 11:40:39 2016 +0100

    cosmetic bug : checkbox unchecked are not sent
---
 include/lib/config_file.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/lib/config_file.php b/include/lib/config_file.php
index 2854088..92403f4 100644
--- a/include/lib/config_file.php
+++ b/include/lib/config_file.php
@@ -99,7 +99,7 @@ function config_file_form($p_array=null)
     $smulti=new ICheckBox('multi');
     $smulti->javascript=' onchange="show_dbname(this)" ';
     $smulti->value = 'Y';
-    if ( $multi == 'Y') {
+    if ( isset($multi) && $multi == 'Y') {
         $smulti->selected=true;
 
     }



reply via email to

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