diff options
Diffstat (limited to 'LibertyStructure.php')
| -rw-r--r-- | LibertyStructure.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibertyStructure.php b/LibertyStructure.php index b9c8889..053729f 100644 --- a/LibertyStructure.php +++ b/LibertyStructure.php @@ -19,9 +19,9 @@ require_once( LIBERTY_PKG_PATH.'LibertyBase.php' ); class LibertyStructure extends LibertyBase { var $mStructureId; - function LibertyStructure ( $pStructureId=NULL, $pContentId=NULL ) { + function __construct( $pStructureId=NULL, $pContentId=NULL ) { // we need to init our database connection early - LibertyBase::LibertyBase(); + parent::__construct(); $this->mStructureId = $pStructureId; $this->mContentId = $pContentId; } |
