Skip to content

Commit

Permalink
Merge pull request #60 from anveno/master
Browse files Browse the repository at this point in the history
Redaxo 5.11 compat
  • Loading branch information
IngoWinter authored Jul 2, 2020
2 parents e3650de + 43c6f93 commit 062f86d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
$form->addHiddenField('clang_id', $clang_id);
iwcc_rex_form::getId($form, $table);

if ($form->getSql()->getValue('uid') == 'iwcc')
if ($func == 'edit' && $form->getSql()->getValue('uid') == 'iwcc')
{
$form->addRawField(iwcc_rex_form::showInfo($this->i18n('iwcc_cookie_iwcc_info')));
$form->addRawField(iwcc_rex_form::getFakeText($this->i18n('iwcc_uid'), $form->getSql()->getValue('uid')));
Expand Down

0 comments on commit 062f86d

Please sign in to comment.