- Timestamp:
- 10/08/13 11:59:12 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.5.1-evolucao/expressoAdmin1_2/inc/class.functions.inc.php
r7769 r8231 833 833 if (($i +1) % 3 == 1) 834 834 { 835 $checked = $user_applications[$app] ? 'CHECKED' : '';835 $checked = is_array($user_applications) && $user_applications[$app] ? 'CHECKED' : ''; 836 836 $app_col1 = sprintf("<td>%s</td><td width='10'><input type='checkbox' name='apps[%s]' value='1' %s %s></td>\n", 837 837 $data['title'],$app,$checked, $disabled); … … 843 843 if (($i +1) % 3 == 2) 844 844 { 845 $checked = $user_applications[$app] ? 'CHECKED' : '';845 $checked = is_array($user_applications) && $user_applications[$app] ? 'CHECKED' : ''; 846 846 $app_col2 = sprintf("<td>%s</td><td width='10'><input type='checkbox' name='apps[%s]' value='1' %s %s></td>\n", 847 847 $data['title'],$app,$checked, $disabled); … … 853 853 if (($i +1) % 3 == 0) 854 854 { 855 $checked = $user_applications[$app] ? 'CHECKED' : '';855 $checked = is_array($user_applications) && $user_applications[$app] ? 'CHECKED' : ''; 856 856 $app_col3 = sprintf("<td>%s</td><td width='10'><input type='checkbox' name='apps[%s]' value='1' %s %s></td>\n", 857 857 $data['title'],$app,$checked, $disabled);
Note: See TracChangeset
for help on using the changeset viewer.