Skip to content

Commit

Permalink
removed pass-by-reference
Browse files Browse the repository at this point in the history
In PHP 5.3 pass-by-reference has been deprecated, and removed in 5.4
  • Loading branch information
madbob committed Apr 11, 2014
1 parent 85c578d commit a6a9782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pg2mysql.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function pg2mysql(&$input, $header=true)
{
global $config;

if(is_array(&$input)) {
if(is_array($input)) {
$lines=$input;
} else {
$lines=split("\n",$input);
Expand Down

0 comments on commit a6a9782

Please sign in to comment.