Skip to content

Commit

Permalink
Fix missing content variable
Browse files Browse the repository at this point in the history
  • Loading branch information
partydragen committed Jun 13, 2022
1 parent 4035a88 commit 1f195c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/modules/Resources/pages/resources/new.php
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@

if ($validation->passed()) {
// TODO: hooks
Output::getClean($_SESSION['new_resource']['content']);
$content = Output::getClean($_SESSION['new_resource']['content']);

if(!isset($_POST['version']))
$version = '1.0.0';
Expand Down

0 comments on commit 1f195c3

Please sign in to comment.