New style constuctor

This commit is contained in:
Latif Khalifa
2013-10-12 01:47:38 +02:00
parent 90c1c9cdb7
commit 22bfcc2e49

View File

@@ -15,7 +15,7 @@ class SearchFilter
public $offset = 0;
public $page = 0;
function SearchFilter()
function __construct()
{
if (in_array($_GET["sort_by"], self::$sort_keys))
{