We have moved to Github. Please open tickets there.

Opened 2 years ago

Closed 2 years ago

#2955 closed Defect (fixed)

Typo in mod/pages/views/default/pages/sidebar/history.php

Reported by: shanness Owned by:
Priority: normal Milestone: Elgg 1.8.0
Component: Core Version: Github Master
Severity: minor Keywords:
Cc: brett@… Difficulty: trivial

Description

annotations is spelled wrong.

Caused : PHP Fatal error: Call to undefined function elgg_list_annotaitons()

Loving 1.8! Very smooth!

craig@homei7 sidebar  $ git diff history.php 
diff --git a/mod/pages/views/default/pages/sidebar/history.php b/mod/pages/views/default/pages/sidebar/history.php
index beff41e..7077edb 100644
--- a/mod/pages/views/default/pages/sidebar/history.php
+++ b/mod/pages/views/default/pages/sidebar/history.php
@@ -14,7 +14,7 @@ if ($vars['page']) {
                'limit' => 20,
                'reverse_order_by' => true
        );
-       $content = elgg_list_annotaitons($options);
+       $content = elgg_list_annotations($options);
 }
 
 echo elgg_view_module('aside', $title, $content);
\ No newline at end of file

Change History (2)

comment:1 Changed 2 years ago by cash

  • Difficulty set to trivial
  • Milestone changed from Needs Review to Elgg 1.8

comment:2 Changed 2 years ago by cash

  • Resolution set to fixed
  • Status changed from new to closed

(In [svn:8307]) Fixes #2955 fixed typo

Note: See TracTickets for help on using tickets.