Mercurial > hg > fapweb
changeset 590:94b9bf155fdb
Revert a completely broken change. :S
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 17 Oct 2014 13:09:14 +0300 |
parents | ae89d6433d97 |
children | f7078755dff5 |
files | managedb.php |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/managedb.php Fri Oct 17 13:08:49 2014 +0300 +++ b/managedb.php Fri Oct 17 13:09:14 2014 +0300 @@ -51,10 +51,10 @@ for ($ver = $currVersion; $ver <= $dbVersion; $ver++) { if (isset($upgradeMappings[$ver]) && - isset($upgradeMappings[$ver][$type]) && - isset($upgradeMappings[$ver][$type][$tmpName])) + isset($upgradeMappings[$ver][$tmpName]) && + isset($upgradeMappings[$ver][$tmpName][$type])) { - $tmpName = $upgradeMappings[$ver][$type][$tmpName]; + $tmpName = $upgradeMappings[$ver][$tmpName][$type]; $converted = TRUE; } }