We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 7cea3f9f authored by Chimo's avatar Chimo

Add 'statusnet_textarea' backward-compatibility

parent d816af9a
......@@ -74,9 +74,9 @@ class NewnoticeAction extends FormAction
}
}
if ($this->trimmed('content')) {
$this->formOpts['content'] = $this->trimmed('content');
}
// Backwards compatibility for "share this" widget things.
// If no 'content', use 'status_textarea'
$this->formOpts['content'] = $this->trimmed('content') ?: $this->trimmed('status_textarea');
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment