Skip to content

Commit

Permalink
standards updates
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldpdl committed Jul 14, 2010
1 parent 42c6c8e commit 574c887
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion catalog/admin/manufacturers.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@

$manufacturers_image = new upload('manufacturers_image');
$manufacturers_image->set_destination(DIR_FS_CATALOG_IMAGES);

if ($manufacturers_image->parse() && $manufacturers_image->save()) {
tep_db_query("update " . TABLE_MANUFACTURERS . " set manufacturers_image = '" . $manufacturers_image->filename . "' where manufacturers_id = '" . (int)$manufacturers_id . "'");
tep_db_query("update " . TABLE_MANUFACTURERS . " set manufacturers_image = '" . tep_db_input($manufacturers_image->filename) . "' where manufacturers_id = '" . (int)$manufacturers_id . "'");
}

$languages = tep_get_languages();
Expand Down

0 comments on commit 574c887

Please sign in to comment.