From 9f6f5100fe6368d760b5e151d941bb54c8b6b7e0 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sun, 29 May 2016 11:32:18 -0400 Subject: [PATCH] also copy Name from the request on update and only show delete button if it has a name --- web/skins/classic/views/filter.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/web/skins/classic/views/filter.php b/web/skins/classic/views/filter.php index 96a39eaef..c8f4d7554 100644 --- a/web/skins/classic/views/filter.php +++ b/web/skins/classic/views/filter.php @@ -58,6 +58,7 @@ if ( isset( $_REQUEST['reload'] ) and ! $_REQUEST['reload'] ) { $dbFilter['AutoUpload'] = isset( $_REQUEST['AutoUpload'] ); $dbFilter['AutoVideo'] = isset( $_REQUEST['AutoVideo'] ); $dbFilter['AutoDelete'] = isset( $_REQUEST['AutoDelete'] ); + $dbFilter['Name'] = $_REQUEST['filterName']; } $conjunctionTypes = array( @@ -333,9 +334,11 @@ if ( ZM_OPT_MESSAGE ) - - - + + + + +