partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit bacc6b82c16882581c3dc6540e86b1f1b25c535f
parent b8e2859064d78fe9a5d5f75603bbc351172c3c6c
Author: Felicitus <felicitus@felicitus.org>
Date:   Tue, 17 Jul 2012 03:40:52 +0200

Fixed wrong exception

Diffstat:
Msrc/backend/PartKeepr/PartKeepr.php | 2+-
Rutil/classes/ExtJSFile.php -> src/backend/PartKeepr/Util/ExtJSFile.php | 0
2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/PartKeepr/PartKeepr.php b/src/backend/PartKeepr/PartKeepr.php @@ -286,7 +286,7 @@ class PartKeepr { */ public static function getEntityManager () { if (!self::$entityManager instanceof EntityManager) { - throw new Exception("No EntityManager found. Make sure you called initializeDoctrine() or initialize()."); + throw new \Exception("No EntityManager found. Make sure you called initializeDoctrine() or initialize()."); } return self::$entityManager; } diff --git a/util/classes/ExtJSFile.php b/src/backend/PartKeepr/Util/ExtJSFile.php