From bbb59ee3f9576a8e7bb47cfa384287b94ad63e9b Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 11 Jan 2014 13:08:26 +0000 Subject: add two triggers and user_list_backend.php and don't fail on unknown column git-svn-id: http://piwigo.org/svn/trunk@26618 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/user_list_backend.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'admin') diff --git a/admin/user_list_backend.php b/admin/user_list_backend.php index f3963e61f..9d18f270b 100644 --- a/admin/user_list_backend.php +++ b/admin/user_list_backend.php @@ -36,6 +36,7 @@ check_status(ACCESS_ADMINISTRATOR); * you want to insert a non-database field (for example a counter or static image) */ $aColumns = array('id', 'username', 'status', 'mail_address', 'registration_date'); +$aColumns = trigger_change('user_list_columns', $aColumns); /* Indexed column (used for fast and accurate table cardinality) */ $sIndexColumn = "id"; @@ -103,7 +104,9 @@ if ( $_REQUEST['sSearch'] != "" ) /* Individual column filtering */ for ( $i=0 ; $i