From: Roland Haeder Date: Mon, 9 Mar 2015 00:40:44 +0000 (+0100) Subject: 'checked' must be false because else the browser won't send any location and it is... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ceaa1c0b5c5d998e1522a41b6441ecd34602452d;p=quix0rs-gnu-social.git 'checked' must be false because else the browser won't send any location and it is better for privacy ... :-) Signed-off-by: Roland Haeder --- diff --git a/lib/noticeform.php b/lib/noticeform.php index 41070673ed..4ad6190131 100644 --- a/lib/noticeform.php +++ b/lib/noticeform.php @@ -269,7 +269,7 @@ class NoticeForm extends Form 'type' => 'checkbox', 'class' => 'checkbox', 'id' => $this->id() . '-notice_data-geo', - 'checked' => true, // ? + 'checked' => false, // Must be unchecked by default )); $this->out->element('label', array('class' => 'notice_data-geo', 'for' => $this->id().'-notice_data-geo'),