diff options
Diffstat (limited to 'app/class')
| -rw-r--r-- | app/class/object.class.php | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/app/class/object.class.php b/app/class/object.class.php index 7f73382..3622d6a 100644 --- a/app/class/object.class.php +++ b/app/class/object.class.php @@ -10,7 +10,7 @@ abstract class Object extends Framework      /*       * Constructor       */ -    function __construct($childTable, $childCols) +    function __construct($childTable = "object", $childCols = null)      {          $this->db = $this->getDbConnection(); @@ -39,7 +39,7 @@ abstract class Object extends Framework      /*       * Populate this object with data from the DB with a given GUID       */ -    function loadObj($guid) +    function loadObj($guid = null)      {          if (is_null($guid))              return; | 
