Permalink
Browse files

Fixed typo in exception.

  • Loading branch information...
1 parent 47065b8 commit 8c092a7970a6ae84d302d71167c0784760ac3770 @gabordemooij committed Apr 11, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 RedBean/QueryWriter/AQueryWriter.php
  2. +1 −1 testing/RedUNIT/CUBRID/Setget.php
@@ -71,7 +71,7 @@ public function esc($dbStructure, $dontQuote = false) {
*/
protected function check($struct) {
if (!preg_match('/^[a-zA-Z0-9_]+$/', $struct)) {
- throw new Redbean_Exception_Security('Identifier does not conform to RedBeanPHP security policies.');
+ throw new RedBean_Exception_Security('Identifier does not conform to RedBeanPHP security policies.');
}
return $struct;
}
@@ -69,7 +69,7 @@ public function run() {
fail();
}
catch(Exception $e) { pass(); }
- asrt(($e instanceof Redbean_Exception_Security),true);
+ asrt(($e instanceof RedBean_Exception_Security),true);
}
}

0 comments on commit 8c092a7

Please sign in to comment.