-- Bug fix Thanks for the help @BossLX
-- Bug fix issues/73
This commit is contained in:
parent
f23f8a511c
commit
a1686b86e6
|
@ -224,17 +224,6 @@ class srvinterface {
|
|||
default:
|
||||
return 430;
|
||||
}
|
||||
/* if ($res["vCode"] >= 433) {
|
||||
|
||||
}
|
||||
if ($res["vCode"] >= 431) {
|
||||
return 431;
|
||||
} else {
|
||||
return 430;
|
||||
}
|
||||
*
|
||||
*/
|
||||
// return $res["vCode"];
|
||||
}
|
||||
|
||||
public function getSCCPVersion() {
|
||||
|
|
|
@ -741,7 +741,7 @@ function InstallDB_updateDBVer($sccp_compatible)
|
|||
{
|
||||
global $db;
|
||||
outn("<li>" . _("Update DB Ver") . "</li>");
|
||||
$sql = "REPLACE INTO `sccpsettings` (`keyword`, `data`, `seq`, `type`), VALUES ('SccpDBmodel', '"+$sccp_compatible+ "','30','0');";
|
||||
$sql = "REPLACE INTO `sccpsettings` (`keyword`, `data`, `seq`, `type`), VALUES ('SccpDBmodel', '". $sccp_compatible. "','30','0');";
|
||||
$results = $db->query($sql);
|
||||
if (DB::IsError($check)) {
|
||||
die_freepbx(sprintf(_("Error updating sccpdeviceconfig view. Command was: %s; error was: %s "), $sql, $results->getMessage()));
|
||||
|
|
Loading…
Reference in a new issue