1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

Database verification now runs again directly after applying fixes. Compatibility fix for core_functions.php

This commit is contained in:
Cameron
2018-11-22 13:43:02 -08:00
parent 6367074571
commit 5d27229183
3 changed files with 32 additions and 20 deletions

View File

@@ -203,13 +203,15 @@ class system_tools
$this->del_pref_val($_POST['pref_type']);
}
if(isset($_POST['verify_sql']) || varset($_GET['mode'])=='verify_sql')
if(isset($_POST['verify_sql']) || !empty($_POST['verify_table']) || varset($_GET['mode']) =='verify_sql')
{
e107::getCache()->clear('Dbverify',true);
require_once(e_HANDLER."db_verify_class.php");
$dbv = new db_verify;
$dbv->backUrl = e_SELF."?mode=verify_sql";
$dbv->verify();
//echo e107::getMessage()->render();
return;
}