summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Holywell <[email protected]>2012-11-15 11:47:05 +0000
committerSimon Holywell <[email protected]>2012-11-15 11:47:05 +0000
commit87b05b7da4290ab15c667a32982e1c6327eed582 (patch)
treec060e09340ba69a0606809b7618baafe116872ab
parenta0e0c162684a0e038fed7df6ffa190c16fa47df9 (diff)
Fix bug caused by custom exception not extending base exception
-rw-r--r--README.markdown4
-rw-r--r--idiorm.php2
2 files changed, 5 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown
index b88e068..968e722 100644
--- a/README.markdown
+++ b/README.markdown
@@ -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)
diff --git a/idiorm.php b/idiorm.php
index 9d93f59..9424d4a 100644
--- a/idiorm.php
+++ b/idiorm.php
@@ -1493,4 +1493,4 @@
/**
* A placeholder for exceptions eminating from the IdiormString class
*/
- class IdiormStringException {} \ No newline at end of file
+ class IdiormStringException extends Exception {} \ No newline at end of file