Implode project description everywhere else

Forgot these
This commit is contained in:
2018-02-13 16:41:03 +01:00
parent 5e10d53c36
commit 98f882233c
4 changed files with 4 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ if($new == 0){
<p class="subtitle no-chin">Beskrivelse</p>
<p class="subnote">Hva går prosjektet ditt ut på?</p>
<textarea name="desc" style="width:100%" rows="8" class="boxinput"><?= $project->getDescription() ?></textarea>
<textarea name="desc" style="width:100%" rows="8" class="boxinput"><?= implode($project->getDescription(), "\n"); ?></textarea>
<?= '<input type="hidden" name="id" value="' . $project->getID() . '" />' ?>