Skip to content

Commit

Permalink
Fix bug caused by custom exception not extending base exception
Browse files Browse the repository at this point in the history
  • Loading branch information
treffynnon committed Nov 15, 2012
1 parent a0e0c16 commit 87b05b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ Features
Changelog
---------

#### 1.2.1 - release 2012-11-15

* Fix minor bug caused by IdiormStringException not extending Exception

#### 1.2.0 - release 2012-11-14

* Setup composer for installation via packagist (j4mie/idiorm)
Expand Down
2 changes: 1 addition & 1 deletion idiorm.php
Original file line number Diff line number Diff line change
Expand Up @@ -1493,4 +1493,4 @@ protected function _str_replace_outside_quotes_cb($matches) {
/**
* A placeholder for exceptions eminating from the IdiormString class
*/
class IdiormStringException {}
class IdiormStringException extends Exception {}

0 comments on commit 87b05b7

Please sign in to comment.