Commit 4e1830ff authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix warning in logs when submitting feedback


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 43d7a6a5
......@@ -806,7 +806,7 @@ function add_feedback_form_submit(Pieform $form, $values) {
$goto = $comment->get_view_url($view->get('id'));
if ($data->requestpublic && $data->requestpublic === 'author' && $data->owner) {
if (isset($data->requestpublic) && $data->requestpublic === 'author' && $data->owner) {
$arg = $author ? display_name($USER, null, true) : $data->authorname;
$moderatemsg = (object) array(
'subject' => false,
......
Supports Markdown
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