From e245d18ed896df8181047e813d39d2ac506d8014 Mon Sep 17 00:00:00 2001 From: DarkAngelBGE Date: Tue, 23 Sep 2008 12:04:02 +0000 Subject: [PATCH] fixes #5469 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7648 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/controller/controller.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cake/libs/controller/controller.php b/cake/libs/controller/controller.php index 49b9ec282..87a082d4b 100644 --- a/cake/libs/controller/controller.php +++ b/cake/libs/controller/controller.php @@ -409,7 +409,9 @@ class Controller extends Object { /** * Loads and instantiates models required by this controller. * If Controller::persistModel; is true, controller will create cached model instances on first request, - * additional request will used cached models + * additional request will used cached models. + * If the model is non existent, it will throw a missing database table error, as Cake generates + * dynamic models for the time being. * * @param string $modelClass Name of model class to load * @param mixed $id Initial ID the instanced model class should have