Browse code

fix deprecated message 8.1

Jimako authored on 2024/05/16 10:24:39
Showing 1 changed files
... ...
@@ -287,7 +287,7 @@ else {
287 287
 				$notes = isset($chap['notes']) ? format_story($chap['notes']) : false;
288 288
 				$endnotes = isset($chap['endnotes']) ? format_story($chap['endnotes']) : false;
289 289
 				$chapid = $chap['chapid'];
290
-				$story = stripslashes($chap['storytext']);
290
+				$story = isset($chap['storytext']) ? format_story($chap['storytext']) : false; 
291 291
 				$chapterauthor = $chap['uid'];
292 292
 				$chapterpenname = $chap['penname'];
293 293
 				$valid = $chap['validated'];