blob: 4375d023f5bd1f7eaffd2aed2edd175415cba016 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ad,v 1.1 2005/09/20 13:19:05 schmonz 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') {
|