mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Removed PHP warning.
This commit is contained in:
@@ -739,10 +739,13 @@ class news_admin_ui extends e_admin_ui
|
||||
|
||||
foreach($this->addons as $plug=>$config)
|
||||
{
|
||||
foreach($config['fields'] as $field=>$tmp)
|
||||
if(!empty($config['fields']))
|
||||
{
|
||||
$newOrder[] = "x_".$plug."_".$field;
|
||||
// echo $field;
|
||||
foreach($config['fields'] as $field=>$tmp)
|
||||
{
|
||||
$newOrder[] = "x_".$plug."_".$field;
|
||||
// echo $field;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -1107,7 +1107,7 @@ class e_media
|
||||
}
|
||||
|
||||
$img_data = $this->mediaData($oldpath); // Basic File Info only
|
||||
|
||||
|
||||
|
||||
if(!$typePath = $this->getPath($img_data['media_type'], $uploadPath))
|
||||
{
|
||||
|
Reference in New Issue
Block a user