1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 09:42:41 +01:00
phorge-phorge/src/applications/phriction
epriestley 0366936d4c Set default content to "" (empty string), not null, in PhrictionDocumentEditor
Summary: phriction.edit allows you to omit the content string, meaning "don't
edit content". If you're also creating the page, we currently break in a
terrible, horrible, no-good, very-bad way because 'content' can't be null.
Default to empty string instead so phriction.edit creates an empty page instead
of a broken mess.

Test Plan: Called phriction.edit on a new page with no content.

Reviewers: skrul, jungejason, nh, tuomaspelkonen, aran

Reviewed By: skrul

CC: aran, skrul

Differential Revision: 920
2011-09-13 08:48:56 -07:00
..
constants Publish Phriction edits to feed 2011-07-12 16:36:17 -07:00
controller Fix some sloppiness with definition of $slug. 2011-08-31 12:00:34 -07:00
editor/document Set default content to "" (empty string), not null, in PhrictionDocumentEditor 2011-09-13 08:48:56 -07:00
storage Add a 'description' field to Phriction 2011-07-23 21:11:42 -07:00