diff --git a/include/simpleplugin/attributes/class_BooleanAttribute.inc b/include/simpleplugin/attributes/class_BooleanAttribute.inc
index 69f258fcf20143b92c390707fc489abc91879a57..770ed6d66ad198e05d5d4d7c83922701db7402db 100644
--- a/include/simpleplugin/attributes/class_BooleanAttribute.inc
+++ b/include/simpleplugin/attributes/class_BooleanAttribute.inc
@@ -58,7 +58,7 @@ class BooleanAttribute extends Attribute
 
   function inputValue ($value)
   {
-    if ($this->isTemplate() && $this->isTemplatable() && ($value == '%askme%')) {
+    if ($this->isTemplate() && $this->isTemplatable() && ($value === '%askme%')) {
       return $value;
     }
     return ($value == $this->trueValue);
@@ -70,7 +70,7 @@ class BooleanAttribute extends Attribute
       if ($this->isTemplate() && $this->isTemplatable()) {
         if (!isset($_POST[$this->getHtmlId()])) {
           $this->setPostValue(FALSE);
-        } elseif ($_POST[$this->getHtmlId()] == '%askme%') {
+        } elseif ($_POST[$this->getHtmlId()] === '%askme%') {
           $this->setPostValue('%askme%');
         } else {
           $this->setPostValue($_POST[$this->getHtmlId()] == 'TRUE');
@@ -83,7 +83,7 @@ class BooleanAttribute extends Attribute
 
   function computeLdapValue ()
   {
-    if ($this->isTemplate() && $this->isTemplatable() && ($this->value == '%askme%')) {
+    if ($this->isTemplate() && $this->isTemplatable() && ($this->value === '%askme%')) {
       return $this->value;
     } else {
       return ($this->value ? $this->trueValue : $this->falseValue);
@@ -109,7 +109,7 @@ class BooleanAttribute extends Attribute
   {
     if ($this->isTemplatable()) {
       $id = $this->getHtmlId();
-      if ($this->getValue() == '%askme%') {
+      if ($this->getValue() === '%askme%') {
         $selected = '%askme%';
       } elseif ($this->getValue()) {
         $selected = 'TRUE';