--- a/ajax.php Mon Sep 29 08:25:59 2008 -0400
+++ b/ajax.php Mon Sep 29 08:26:21 2008 -0400
@@ -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":