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:
parent
963e1ef714
commit
5649720e23
1 changed files with 1 additions and 4 deletions
|
@ -68,10 +68,7 @@ function array_remove( $array, $value )
|
||||||
{
|
{
|
||||||
$output = array();
|
$output = array();
|
||||||
foreach ( $array as $v ) {
|
foreach ( $array as $v ) {
|
||||||
if ( $v != $value )
|
if ( $v != $value ) array_push( $output, $v );
|
||||||
{
|
|
||||||
array_push( $output, $v );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue