diff options
-rw-r--r-- | system/libraries/Loader.php | 2 | ||||
-rw-r--r-- | user_guide/changelog.html | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php index 5cf1f2ae6..5966aebf6 100644 --- a/system/libraries/Loader.php +++ b/system/libraries/Loader.php @@ -272,6 +272,8 @@ class CI_Loader { $class = 'CI_DB_'.$CI->db->dbdriver.'_forge';
$CI->dbforge = new $class();
+
+ $CI->load->_ci_assign_to_models();
}
// --------------------------------------------------------------------
diff --git a/user_guide/changelog.html b/user_guide/changelog.html index ffbf2e18b..0d10d6446 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -66,7 +66,8 @@ SVN Commit: not currently released</p> <li>Added the ability to prevent escaping in <kbd>having()</kbd> clauses.</li>
<li>Added <kbd>rename_table()</kbd> into <a href="./database/forge.html">DBForge</a>.</li>
<li>Fixed a bug that wasn't allowing escaping to be turned off if the value of a query was NULL.</li>
- </ul>
+ <li>DB Forge is now assigned to any models that exist after loading (#3457).</li>
+ </ul>
</li>
<li>Config
<ul>
|