Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Commit

Permalink
used syntax isn't available in PHP5.4 You will get this error:
Browse files Browse the repository at this point in the history
[Thu Apr 21 15:20:39 2016] [error] [client 131.152.226.242] PHP Fatal error:  Can't use method return value in write context in /usr/local/vufind/httpd/module/Swissbib/src/Swissbib/RecordDriver/SolrMarc.php on line 1128, referer: https://test.swissbib.ch/
we need PHP versions >= 5.5
  • Loading branch information
Guenter Hipler committed Apr 21, 2016
1 parent 4ed1256 commit d8c5f8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion module/Swissbib/src/Swissbib/RecordDriver/SolrMarc.php
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,8 @@ public function getSecondaryAuthors($asString = true)
*/
public function getCorporateAuthors()
{
return empty($this->getCorporateAuthor()) ?
$tempAuthor = $this->getCorporateAuthor();
return empty($tempAuthor) ?
null : [$this->getCorporateAuthor()];
}

Expand Down

0 comments on commit d8c5f8c

Please sign in to comment.