From: philippe_mingo Date: Thu, 22 Aug 2002 13:49:39 +0000 (+0000) Subject: Some fixes X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=7dba227d77292e1f2a7db2304e900cb1d8152074 Some fixes git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3412 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/search.php b/src/search.php index 1232c4e1..5c2a865c 100644 --- a/src/search.php +++ b/src/search.php @@ -102,7 +102,7 @@ function forget_recent($forget_index, $username, $data_dir) { $attributes = get_recent( $username, $data_dir); reset($types); foreach ($types as $key) { - array_splice($attributes[$key], $forget_index, 1); + array_splice($attributes[$key], $forget_index - 1, 1); array_unshift($attributes[$key], ''); } reset($types);