viewstory.php: change to from ef_story_error to write_error as the first function is not in this codebase
--- a/viewstory.php
+++ b/viewstory.php
@@ -371,7 +371,7 @@
$printicon = "<a href=\"viewstory.php?action=printable&sid=$sid&textsize=$textsize&chapter=1\" target=\"_blank\"><img src='".(isset($printer) ? $printer : "images/print.gif")."' border='0' alt='"._PRINTER."'></a>";
}
// if the *CHAPTER* hasn't been validated and the viewer isn't an admin or the author throw them a warning.
- if(!$valid && !$ef_ownview && USERUID != $chapterauthor) ef_story_error(_ACCESSDENIED, $title);
+ if(!$valid && !$ef_ownview && USERUID != $chapterauthor) write_error(_ACCESSDENIED, $title);
$stories = $storyinfo;
$tpl->gotoBlock("_ROOT");
$jumpmenu2 = "";