phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r4670 - phpcompta/trunk/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r4670 - phpcompta/trunk/include
Date: Fri, 6 Jan 2012 14:22:50 +0100 (CET)

Author: danydb
Date: 2012-01-06 14:22:50 +0100 (Fri, 06 Jan 2012)
New Revision: 4670

Modified:
   phpcompta/trunk/include/class_fiche.php
Log:
bug attribut fiche : add blank : label

Modified: phpcompta/trunk/include/class_fiche.php
===================================================================
--- phpcompta/trunk/include/class_fiche.php     2012-01-06 13:20:12 UTC (rev 
4669)
+++ phpcompta/trunk/include/class_fiche.php     2012-01-06 13:22:50 UTC (rev 
4670)
@@ -510,7 +510,6 @@
               case 'select':
                   $w=new ISelect("av_text".$attr->ad_id);
                   $w->value=$this->cn->make_array($attr->ad_extra);
-                  unset($w->label);
                   break;
                case 'card':
                  $w=new ICard("av_text".$attr->ad_id);
@@ -534,7 +533,7 @@
 
             }
             $w->table=$table;
-            $w->label=$attr->ad_text;
+            if ( $attr->ad_type != 'select')            
$w->label=$attr->ad_text;
             $w->name="av_text".$attr->ad_id;
 
             $r.="<TR>".td($w->label,' class="input_text" 
').td($w->input())."$msg </TR>";




reply via email to

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