* Fix error for defined param.
This commit is contained in:
@@ -929,7 +929,7 @@ class baseHelper
|
||||
public static function arrayColumn(array $input, $columnKey, $indexKey = null): array
|
||||
{
|
||||
/* If php version greater than 7, calling system functions returns. */
|
||||
if(defined(PHP_VERSION_ID) && PHP_VERSION_ID >= 70000) return \array_column($input, $columnKey, $indexKey);
|
||||
if(defined('PHP_VERSION_ID') && PHP_VERSION_ID >= 70000) return \array_column($input, $columnKey, $indexKey);
|
||||
|
||||
$output = array();
|
||||
foreach($input as $row)
|
||||
|
||||
Reference in New Issue
Block a user