ajax.php
changeset 1276 dac5fad7ad6a
parent 1252 e34c23a35dc9
child 1332 12286b3ee214
--- a/ajax.php	Fri Jul 30 14:39:47 2010 -0400
+++ b/ajax.php	Fri Jul 30 15:01:06 2010 -0400
@@ -173,6 +173,7 @@
 		
 		$revision_id = ( (isset($_GET['oldid'])) ? intval($_GET['oldid']) : 0 );
 		$page = new PageProcessor( $paths->page_id, $paths->namespace, $revision_id );
+		$template->set_page($page);
 		
 		$pagepass = ( isset($_REQUEST['pagepass']) ) ? $_REQUEST['pagepass'] : '';
 		$page->password = $pagepass;