mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 00:41:52 +02:00
#5443 Warning removal.
This commit is contained in:
@@ -299,10 +299,13 @@ class download_request
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql->select($table, "*", "{$table}_id = '{$id}'");
|
if(!empty($table))
|
||||||
$row = $sql->fetch();
|
{
|
||||||
extract($row);
|
$sql->select($table, "*", "{$table}_id = '{$id}'");
|
||||||
$image = ($table == "upload" ? $row['upload_ss'] : $row['download_image']);
|
$row = $sql->fetch();
|
||||||
|
extract($row);
|
||||||
|
$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