aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-03-18 13:47:24 +0100
committerJoas Schilling <nickvergessen@gmx.de>2012-08-21 11:59:30 +0200
commitcff15ec307d76b004b6a825fb51b5dd3c8da58f2 (patch)
tree873efcf48329eff7c42260fd73b0fad237735ccd /phpBB/includes/functions.php
parent1539ad7ebe1493e4c486181f65976c93dbb95c29 (diff)
downloadforums-cff15ec307d76b004b6a825fb51b5dd3c8da58f2.tar
forums-cff15ec307d76b004b6a825fb51b5dd3c8da58f2.tar.gz
forums-cff15ec307d76b004b6a825fb51b5dd3c8da58f2.tar.bz2
forums-cff15ec307d76b004b6a825fb51b5dd3c8da58f2.tar.xz
forums-cff15ec307d76b004b6a825fb51b5dd3c8da58f2.zip
[ticket/10714] Use keys for the log data instead of requiring a special order
PHPBB3-10714
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 9a1485f37a..3e3d796ba2 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -3392,14 +3392,11 @@ function add_log()
case 'critical':
break;
case 'mod':
- // forum_id
- $additional_data[] = array_shift($args);
- // topic_id
- $additional_data[] = array_shift($args);
+ $additional_data['forum_id'] = array_shift($args);
+ $additional_data['topic_id'] = array_shift($args);
break;
case 'user':
- // reportee_id
- $additional_data[] = array_shift($args);
+ $additional_data['reportee_id'] = array_shift($args);
break;
default:
/**