From 5649720e235a2e2c2156ce412256faa615dbb233 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sat, 26 Jul 2003 09:28:58 +0000 Subject: instead of overriding individual keywords,you can add a keyword to all or remove it from all git-svn-id: http://piwigo.org/svn/trunk@39 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions.inc.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include') diff --git a/include/functions.inc.php b/include/functions.inc.php index 5a672a0d4..fbc5f4d51 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -68,10 +68,7 @@ function array_remove( $array, $value ) { $output = array(); foreach ( $array as $v ) { - if ( $v != $value ) - { - array_push( $output, $v ); - } + if ( $v != $value ) array_push( $output, $v ); } return $output; } -- cgit v1.2.3