Skip to content

Commit

Permalink
Make sure to create the directory first.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jun 23, 2016
1 parent e5b1dfc commit 6efb253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whups/lib/Ticket.php
Expand Up @@ -513,8 +513,8 @@ public function addMessage($message)
} else {
$id = 1;
}
$vfs->writeData($dir, 'id', $id);
$vfs->writeData($dir, $id, $message, true);
$vfs->writeData($dir, 'id', $id);
} catch (Horde_Vfs_Exception $e) {
throw new Whups_Exception($e);
}
Expand Down

0 comments on commit 6efb253

Please sign in to comment.