Permalink
Browse files

Fixing example method

  • Loading branch information...
1 parent 21f46b3 commit 564fb3890e7ed4d9cbb1ca0036138f0522bef0c5 @AlekseyKorzun committed Feb 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Examples/Basic.php
View
2 Examples/Basic.php
@@ -16,7 +16,7 @@
echo $captcha->html();
// Perform validation (put this inside if ($_POST) {} condition for example)
-$response = $captcha->validate();
+$response = $captcha->check();
if (!$response->isValid()) {
echo $response->getError();
}

0 comments on commit 564fb38

Please sign in to comment.