mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-01 02:52:50 +02:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user