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