projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed warning displayed before 2.2 db upgrade.
[fa-stable.git]
/
admin
/
view_print_transaction.php
diff --git
a/admin/view_print_transaction.php
b/admin/view_print_transaction.php
index d6d8ca3b1c42fc3109ed650c4211d3bb2cdb462b..94c22416102df6f35e29af92c87de8d7991bce1c 100644
(file)
--- a/
admin/view_print_transaction.php
+++ b/
admin/view_print_transaction.php
@@
-82,8
+82,6
@@
function check_valid_entries()
display_error(_("The ending transaction number is expected to be numeric and greater than zero."));
return false;
}
display_error(_("The ending transaction number is expected to be numeric and greater than zero."));
return false;
}
- if (!isset($_POST['filterType']) || $_POST['filterType'] == "")
- return false;
return true;
}
return true;
}
@@
-139,7
+137,7
@@
function handle_search()
}
$table =& new_db_pager('transactions', $sql, $cols);
}
$table =& new_db_pager('transactions', $sql, $cols);
- if (list_updated('filterType')) {
+ if (list_updated('filterType')
|| get_post('ProcessSearch')
) {
$table->set_sql($sql);
$table->set_columns($cols);
}
$table->set_sql($sql);
$table->set_columns($cols);
}