--- a/ajax.php Mon Sep 29 08:24:26 2008 -0400
+++ b/ajax.php Sun Nov 09 14:22:03 2008 -0500
@@ -469,6 +469,7 @@
break;
case "preview":
require_once(ENANO_ROOT.'/includes/pageutils.php');
+ $template->init_vars();
echo PageUtils::genPreview($_POST['text']);
break;
case "pagediff":