Project

General

Profile

Actions

Bug #2614

open

Call-time pass-by-reference for function is deprecated in php 5.4

Added by Anchi Cheng almost 11 years ago. Updated almost 11 years ago.

Status:
In Code Review
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
01/02/2014
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.0.0
Show in known bugs:
No
Workaround:

Description

I have php 5.4 on my new mac and it shows this as fatal error in

myamiweb/processing/uploadimage.php?projectId=2

In php 5.3, this is just a deprecation warning.

The following change on line 66 of myamiweb/processing/inc/refineJob.inc fixes it. Gather there will be more.

$this->sortJobs(&$this->runJobs);

to

$this->sortJobs($this->runJobs);
Actions

Also available in: Atom PDF