1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 13:21:54 +02:00

Issue #1287 - PHP7 and SSL fixes.

This commit is contained in:
Cameron
2016-02-14 19:00:12 -08:00
parent 303195d81e
commit 4e8412b16c
12 changed files with 73 additions and 49 deletions

View File

@@ -500,7 +500,7 @@ class e_news_item extends e_front_model
* @param boolean $force
* @return e_news_item
*/
public function load($id, $force = false)
public function load($id=null, $force = false)
{
$id = intval($id);