summaryrefslogtreecommitdiffstats
path: root/createStory.php
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2017-12-02 00:13:10 +0100
committersteckbrief <steckbrief@chefmail.de>2017-12-02 00:13:10 +0100
commit4173577f3f5ebfdc48727cd6065b5de5ac6c4383 (patch)
tree73fc8fc78f71f4f1c3b5c2db9cd13103cbe1acfd /createStory.php
parent248eb1accdf7e92dd0572cb61bac523141662a69 (diff)
admin enhanced; list all stories if no current story is set
Diffstat (limited to '')
-rw-r--r--createStory.php2
1 files changed, 1 insertions, 1 deletions
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);