mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 07:36:32 +02:00
#Issue 5443 Warning removal tweak.
This commit is contained in:
@@ -302,10 +302,12 @@ class download_request
|
|||||||
if(!empty($table))
|
if(!empty($table))
|
||||||
{
|
{
|
||||||
$sql->select($table, "*", "{$table}_id = '{$id}'");
|
$sql->select($table, "*", "{$table}_id = '{$id}'");
|
||||||
$row = $sql->fetch();
|
if($row = $sql->fetch())
|
||||||
|
{
|
||||||
extract($row);
|
extract($row);
|
||||||
$image = ($table == "upload" ? $row['upload_ss'] : $row['download_image']);
|
$image = ($table == "upload" ? $row['upload_ss'] : $row['download_image']);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
//if (preg_match("/Binary\s(.*?)\/.*/", $image, $result))
|
//if (preg_match("/Binary\s(.*?)\/.*/", $image, $result))
|
||||||
//{
|
//{
|
||||||
/* $bid = $result[1];
|
/* $bid = $result[1];
|
||||||
|
Reference in New Issue
Block a user