Skip to content

Commit

Permalink
Fixed a minor bug in edit galleries page
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronak Gandhi committed Jun 4, 2015
1 parent d998e66 commit 47b8059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion afg_edit_galleries.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
global $default_gallery_id;
global $warning;

if ($_POST['afg_per_page_check']) $_POST['afg_per_page'] = '';
if (isset($_POST['afg_per_page_check']) && $_POST['afg_per_page_check']) $_POST['afg_per_page'] = '';
else {
if (!(ctype_digit($_POST['afg_per_page']) && (int)$_POST['afg_per_page'])) {
$_POST['afg_per_page'] = '';
Expand Down

0 comments on commit 47b8059

Please sign in to comment.