We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9dd245 commit c731359Copy full SHA for c731359
event/listener.php
@@ -180,7 +180,8 @@ public function validate_googleanalytics_id($event)
180
*/
181
public function append_agreement()
182
{
183
- if ((strpos($this->user->page['page_name'], 'ucp') !== 0)
+ if (!$this->config['googleanalytics_id']
184
+ || (strpos($this->user->page['page_name'], 'ucp') !== 0)
185
|| !$this->template->retrieve_var('S_AGREEMENT')
186
|| ($this->template->retrieve_var('AGREEMENT_TITLE') !== $this->language->lang('PRIVACY')))
187
0 commit comments