mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 07:06:30 +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($this->addons as $plug=>$config)
|
||||||
{
|
{
|
||||||
foreach($config['fields'] as $field=>$tmp)
|
if(!empty($config['fields']))
|
||||||
{
|
{
|
||||||
$newOrder[] = "x_".$plug."_".$field;
|
foreach($config['fields'] as $field=>$tmp)
|
||||||
// echo $field;
|
{
|
||||||
|
$newOrder[] = "x_".$plug."_".$field;
|
||||||
|
// echo $field;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1107,7 +1107,7 @@ class e_media
|
|||||||
}
|
}
|
||||||
|
|
||||||
$img_data = $this->mediaData($oldpath); // Basic File Info only
|
$img_data = $this->mediaData($oldpath); // Basic File Info only
|
||||||
|
|
||||||
|
|
||||||
if(!$typePath = $this->getPath($img_data['media_type'], $uploadPath))
|
if(!$typePath = $this->getPath($img_data['media_type'], $uploadPath))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user