| commit | aa546ffde3423dc38922d0ccef1caa893b899e8d | [log] [tgz] |
|---|---|---|
| author | Dennis Wagelaar <dennis.wagelaar@healthconnect.be> | Fri Dec 08 14:26:02 2017 +0100 |
| committer | Dennis Wagelaar <dennis.wagelaar@healthconnect.be> | Fri Dec 08 14:26:02 2017 +0100 |
| tree | 2c297d10a69a526b0c8fe8bde1c2767d76460d47 | |
| parent | a006a6943a585a8f818366f65dfb04d77fab2ab1 [diff] |
Fix unsupported PHP code. Call-time pass-by-reference has been removed
diff --git a/script/news.php b/script/news.php index 3db3d94..f1bfd79 100644 --- a/script/news.php +++ b/script/news.php
@@ -122,7 +122,7 @@ $this->item = array(); } - function add_item(&$item) { + function add_item($item) { array_push($this->item, $item); } }