Skip to content
Snippets Groups Projects
Commit cc52250f authored by DaveD's avatar DaveD
Browse files

missing version number in message

parent 09a12d7d
No related branches found
No related tags found
No related merge requests found
......@@ -751,7 +751,8 @@ class CRM_Utils_Check_Component_Env extends CRM_Utils_Check_Component {
}
// if db.ver > code.ver, sth really wrong
if (version_compare($dbVersion, CRM_Utils_System::version()) > 0) {
$codeVersion = CRM_Utils_System::version();
if (version_compare($dbVersion, $codeVersion) > 0) {
$messages[] = new CRM_Utils_Check_Message(
__FUNCTION__,
ts('Your database is marked with an unexpected version number: %1. The v%2 codebase may not be compatible with your database state.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment