mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
small bug fixes
This commit is contained in:
@@ -11,8 +11,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_admin/includes/infopanel.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_admin/includes/infopanel.php,v $
|
||||||
| $Revision: 1.13 $
|
| $Revision: 1.14 $
|
||||||
| $Date: 2009-10-22 23:43:15 $
|
| $Date: 2009-10-26 09:50:00 $
|
||||||
| $Author: e107coders $
|
| $Author: e107coders $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -272,6 +272,8 @@ function render_infopanel_menu_options()
|
|||||||
if (e107::getDb()->db_Select_gen($menu_qry))
|
if (e107::getDb()->db_Select_gen($menu_qry))
|
||||||
{
|
{
|
||||||
while ($row = e107::getDb()->db_Fetch())
|
while ($row = e107::getDb()->db_Fetch())
|
||||||
|
{
|
||||||
|
if(!is_numeric($row['menu_path']))
|
||||||
{
|
{
|
||||||
$label = str_replace("_menu","",$row['menu_name']);
|
$label = str_replace("_menu","",$row['menu_name']);
|
||||||
$path_to_menu = $row['menu_path'].$row['menu_name'];
|
$path_to_menu = $row['menu_path'].$row['menu_name'];
|
||||||
@@ -281,6 +283,7 @@ function render_infopanel_menu_options()
|
|||||||
$text .= "</div>";
|
$text .= "</div>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return $text;
|
return $text;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user