Jump to content

BrettMW

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by BrettMW

  1. Hi, Just experienced a couple of bugs with this module which happen when the save messages setting is off. SimpleContactForm.module First bug: if (!$this->pages->findOne('name=' . $this->pageName) instanceof Pages) { I believe this should be without the "!" at the start as it is currently the wrong way around. Removing it fixed it for me. Next bug: } elseif (!in_array($currentIp, $excludeIps)) { This line should also check if the saveMessages setting is on, i.e.: } elseif (!in_array($currentIp, $excludeIps) && $this->saveMessages) { I haven't tested any of these with other settings and I'm not sure they are correct - just needs some looking into.
×
×
  • Create New...