From 4173577f3f5ebfdc48727cd6065b5de5ac6c4383 Mon Sep 17 00:00:00 2001 From: steckbrief Date: Sat, 2 Dec 2017 00:13:10 +0100 Subject: admin enhanced; list all stories if no current story is set --- createStory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'createStory.php') diff --git a/createStory.php b/createStory.php index 6a115d9..83d9000 100644 --- a/createStory.php +++ b/createStory.php @@ -10,7 +10,7 @@ require_once(__DIR__.DIRECTORY_SEPARATOR.'lib'.DIRECTORY_SEPARATOR.'commons'.DIR require_once(__DIR__.DIRECTORY_SEPARATOR.'lib'.DIRECTORY_SEPARATOR.'functions.stories.inc.php'); $storyName = getMandatoryPostParameter('story-name', '', true); -$storyLogoFile = getOptionalPostParameter('story-logo'); +$storyLogoFile = getOptionalFileParameter('story-logo'); $storyDescription = getOptionalPostParameter('story-description'); $pathToStory = __DIR__.DIRECTORY_SEPARATOR.'stories'.DIRECTORY_SEPARATOR.generateDirectoryName($storyName); -- cgit v1.2.3