Skip to content

Commit

Permalink
Merge pull request #124 from Mainclain/alix6b-cimg-bugfix
Browse files Browse the repository at this point in the history
cimg bugfix
  • Loading branch information
mrgrain committed Dec 7, 2014
2 parents 32b2d08 + 0671500 commit 491e059
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions www/admin/admin_cimg.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
if ($_POST['oldname'] == 1) {
$_POST['newname'] = basename ($_FILES['cimg']['name'],'.'.$oldname_data);
}

$oldname_data = strtolower($oldname_data);

settype ($_POST['cat'], 'integer');
settype ($_POST['width'], 'integer');
Expand Down

0 comments on commit 491e059

Please sign in to comment.