OSDN Git Service

ProfileTableStaticフォーム複数の表示バグ修正
authorCake <cake_67@users.sourceforge.jp>
Thu, 22 Apr 2010 02:32:23 +0000 (11:32 +0900)
committerCake <cake_67@users.sourceforge.jp>
Thu, 22 Apr 2010 02:32:23 +0000 (11:32 +0900)
app/views/helpers/profiledisp.php

index 18547fb..ce7d6d1 100644 (file)
@@ -377,6 +377,7 @@ class ProfiledispHelper extends Helper {
                                $tds = $this->disp_value4profile_tables($v, null, null, true);
                        }
                }
+               $this->character_has_profile_cols = 0;
 
                $this->disp_td4characters_has_profiles($tds, $oddTrOptions, $evenTrOptions, $useCount, $continueOddEven);
        }
@@ -566,6 +567,7 @@ class ProfiledispHelper extends Helper {
                                for ($i=0; $i<$form_num; $i++) {
                                        $this->disp_form4profile_tables($profile['ProfileTable'], null, null, true);
                                }
+                               $this->character_has_profile_cols = 0;
                        }
                        if (intval($table_blank) > 0 && $profile['profile_type'] != 's-table') {
                                $this->disp_blank_td4profile_tables($profile['ProfileTable'], intval($table_blank));