Icy Phoenix

     
 

default links don't get all items in array

Category: CMS
Version Icy Phoenix 1.3 (Unknown - Unknown)
Description
hpl
Sat 21 Nov, 2009 21:24
OPEN cms_menu.php

SEARCH
Code: [Hide] [Select]
for ($i = 0; $i < sizeof($link_default_array); $i++)
{
$mi_menu_default .= '<option value="' . $i .'"';
if($m_info['menu_default'] == $i)
{
$mi_menu_default .= ' selected="selected"';
}
$mi_menu_default .= '>' . $link_default_array[$i] . '</option>';
}

REPLACE WITH
Code: [Hide] [Select]
foreach($link_default_array as $k => $data)
{
$mi_menu_default .= '<option value="' . $k .'"';
if($m_info['menu_default'] == $k)
{
$mi_menu_default .= ' selected="selected"';
}
$mi_menu_default .= '>' . $data . '</option>';
}
Reply
 
Details Assigned To: hpl
Priority: Not Set
Status: Fixed
Fixed: Yes
 




 

  cron