aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/sitepages/sitepages_functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/sitepages/sitepages_functions.php b/mod/sitepages/sitepages_functions.php
index 5e696e4c9..39693a2c8 100644
--- a/mod/sitepages/sitepages_functions.php
+++ b/mod/sitepages/sitepages_functions.php
@@ -105,8 +105,8 @@ function sitepages_get_page_content($page_type) {
* Utility object to store site page information.
*/
class ElggSitePage extends ElggObject {
- public function initialise_attributes() {
- parent::initialise_attributes();
+ public function initializeAttributes() {
+ parent::initializeAttributes();
$this->attributes['subtype'] = 'sitepages_page';
}