1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 15:16:30 +02:00

#Issue 5443 Warning removal tweak.

This commit is contained in:
camer0n
2025-04-14 10:30:57 -07:00
parent d4f0700b4b
commit 9994a2260d

View File

@@ -302,10 +302,12 @@ class download_request
if(!empty($table))
{
$sql->select($table, "*", "{$table}_id = '{$id}'");
$row = $sql->fetch();
if($row = $sql->fetch())
{
extract($row);
$image = ($table == "upload" ? $row['upload_ss'] : $row['download_image']);
}
}
//if (preg_match("/Binary\s(.*?)\/.*/", $image, $result))
//{
/* $bid = $result[1];