blob: 146320792fd8143fdb72432f8964a8b7fa3efd0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ad,v 1.1 2005/12/05 09:28:44 martti Exp $
--- plugins/listcommands/setup.php.orig 2005-02-28 05:20:12.000000000 -0500
+++ plugins/listcommands/setup.php
@@ -51,8 +51,9 @@ function plugin_listcommands_menu() {
}
/* proto = {mailto,href} */
- $proto = array_shift(array_keys($actions));
- $act = array_shift($actions);
+ $aActionKeys = array_keys($actions);
+ $proto = array_shift($aActionKeys);
+ $act = array_shift($aActionKeys);
if ($proto == 'mailto') {
|