Skip to content

Commit

Permalink
rename items array
Browse files Browse the repository at this point in the history
  • Loading branch information
Roumen Damianoff committed Sep 25, 2012
1 parent be59bc2 commit b7b6c5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/Sitemap.php
Expand Up @@ -3,7 +3,7 @@
* Sitemap class for ci-sitemap library.
*
* @author Roumen Damianoff <roumen@dawebs.com>
* @version 1.2
* @version 1.2.1
* @link http://roumen.me/projects/ci-sitemap
* @license http://opensource.org/licenses/mit-license.php MIT License
*/
Expand All @@ -29,7 +29,7 @@ class Sitemap
*/
public function add($loc, $lastmod = null, $priority = '0.50', $freq = 'monthly', $title = null)
{
$this->records[] = array(
$this->items[] = array(
'loc' => $loc,
'lastmod' => $lastmod,
'priority' => $priority,
Expand Down

0 comments on commit b7b6c5e

Please sign in to comment.