Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function _watchFilter() {
- if (isset($_POST['category']) && (int) $_POST['category'] > 0) {
- $_SESSION['_filter'] = (int) $_POST['category'];
- $_SESSION['_filterMSG'] = 'WHERE messages.gid = ' . (int) $_POST['category'];
- } else {
- $_SESSION['_filter'] = 0;
- $_SESSION['_filterMSG'] = '';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement