OSDN Git Service

fixd bug bug sorry
authorcocoitiban <cocoitiban@2ef88817-412d-0410-a32c-8029a115e976>
Wed, 8 Nov 2006 11:26:00 +0000 (11:26 +0000)
committercocoitiban <cocoitiban@2ef88817-412d-0410-a32c-8029a115e976>
Wed, 8 Nov 2006 11:26:00 +0000 (11:26 +0000)
class/Plugin/Csrf/Ethna_Plugin_Csrf_Session.php

index 6540c8e..6e596ed 100644 (file)
@@ -56,7 +56,7 @@ class Ethna_Plugin_Csrf_Session extends Ethna_Plugin_Csrf
         $this->session->start();
 
         $token = $this->session->get($this->token_name);
-        if ($token === null) {
+        if ($token !== null) {
             return true;
         }