Permalink
Browse files

Merge pull request #6 from NAlbuquerque/patch-1

Changed 'last_page' variable to new 2.4 syntax of last_page_visited
  • Loading branch information...
rsanchez committed Mar 1, 2012
2 parents 381831a + f826e4f commit eced166aa5a0383935c0e54f8a1cc74468f7b70c
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/expressionengine/third_party/mo_variables/ext.mo_variables.php
@@ -234,7 +234,7 @@ protected function page_tracker()
{
$variables = array(
//'current_page' => 0,
- 'last_page' => 1,
+ 'last_page_visited' => 1,
'one_page_ago' => 1,
'two_pages_ago' => 2,
'three_pages_ago' => 3,

0 comments on commit eced166

Please sign in to comment.