Skip to content

Commit

Permalink
Fix error when running with PHP5: 'PHP Fatal error: Call-time pass-by…
Browse files Browse the repository at this point in the history
…-reference has been removed in pg2mysql.inc.php on line 133'
  • Loading branch information
Elyrith committed Feb 21, 2015
1 parent 85c578d commit 7ccff6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pg2mysql.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ function pg2mysql_large($infilename,$outfilename) {

}

function pg2mysql(&$input, $header=true)
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 7ccff6f

Please sign in to comment.