1
0
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:
Cameron
2016-12-06 19:26:52 -08:00
parent f203ed7bd5
commit 868c067fe1
2 changed files with 7 additions and 4 deletions

View File

@@ -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;
}
}
}

View File

@@ -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))
{