1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 17:19:56 +02:00

Closes Issue #319

This commit is contained in:
SecretR
2013-05-24 22:40:10 +03:00
parent f7f3dd65f3
commit 06a2ea8fa0
9 changed files with 18 additions and 18 deletions

View File

@@ -480,7 +480,7 @@ class media_form_ui extends e_admin_form_ui
$mes->addSuccess(LAN_IMA_004.": ".basename($path));
$mes->addSuccess(print_a($info,true));
$dim = intval($info['img-width'])." x ".intval($info['img-height']);
$sql2->db_Update("core_media","media_dimensions = '".$dim."', media_size = '".intval($info['fsize'])."' WHERE media_id = ".intval($row['media_id'])." LIMIT 1");
$sql2->db_Update("core_media","media_dimensions = '".$dim."', media_size = '".intval($info['fsize'])."' WHERE media_id = ".intval($row['media_id'])."");
}
else
{