Skip to content

Commit b88063c

Browse files
committed
Fix small syntax error, throws warning in PHP 7
1 parent 184305d commit b88063c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DFRawFunctions.body.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ public static function cvariation (&$parser, $data = '', $base = ''/*, ...*/)
396396
case 'COPY_TAGS_FROM':
397397
$base_pad = array();
398398
// get the base creature, making sure to apply variations as well
399-
$basedata = self::getTags(call_user_func_array(array('DFRawFunctions', 'cvariation'), array_merge(array($parser, self::raw($parser, $base, 'CREATURE', $tag[1]), $base), $variations)), '', $base_pad);
399+
$basedata = self::getTags(call_user_func_array(array('DFRawFunctions', 'cvariation'), array_merge(array(&$parser, self::raw($parser, $base, 'CREATURE', $tag[1]), $base), $variations)), '', $base_pad);
400400
// discard the object definition
401401
array_shift($basedata);
402402
array_shift($base_pad);

0 commit comments

Comments
 (0)