Skip to content

Commit

Permalink
Improve the compatibility in low version of PHP.
Browse files Browse the repository at this point in the history
  • Loading branch information
lincanbin committed Nov 13, 2014
1 parent 19012ca commit 8fdc674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function AlertMsg($PageTitle, $error, $status_code=200)
//获取数组中的某一列
function ArrayColumn($Input, $ColumnKey)
{
if (version_compare(PHP_VERSION, '5.5.0') == 1) {
if (version_compare(PHP_VERSION, '5.5.0') < 0) {
$Result = array();
if($Input)
{
Expand Down

0 comments on commit 8fdc674

Please sign in to comment.