aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-07-26 09:28:58 +0000
committerz0rglub <z0rglub@piwigo.org>2003-07-26 09:28:58 +0000
commit5649720e235a2e2c2156ce412256faa615dbb233 (patch)
tree68f5ea9ccec09eec5b89b67374fc2b07dd0a6916 /include/functions.inc.php
parent963e1ef71418bdad2e81e78b983f57633dbf3c18 (diff)
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
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r--include/functions.inc.php5
1 files changed, 1 insertions, 4 deletions
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;
}