-- Bug fix Thanks for the help @BossLX
-- Bug fix issues/73
This commit is contained in:
parent
1e0e19cf26
commit
1637731d99
|
@ -224,17 +224,6 @@ class srvinterface {
|
||||||
default:
|
default:
|
||||||
return 430;
|
return 430;
|
||||||
}
|
}
|
||||||
/* if ($res["vCode"] >= 433) {
|
|
||||||
|
|
||||||
}
|
|
||||||
if ($res["vCode"] >= 431) {
|
|
||||||
return 431;
|
|
||||||
} else {
|
|
||||||
return 430;
|
|
||||||
}
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
// return $res["vCode"];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSCCPVersion() {
|
public function getSCCPVersion() {
|
||||||
|
|
|
@ -744,7 +744,7 @@ function InstallDB_updateDBVer($sccp_compatible)
|
||||||
{
|
{
|
||||||
global $db;
|
global $db;
|
||||||
outn("<li>" . _("Update DB Ver") . "</li>");
|
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);
|
$results = $db->query($sql);
|
||||||
if (DB::IsError($check)) {
|
if (DB::IsError($check)) {
|
||||||
die_freepbx(sprintf(_("Error updating sccpdeviceconfig view. Command was: %s; error was: %s "), $sql, $results->getMessage()));
|
die_freepbx(sprintf(_("Error updating sccpdeviceconfig view. Command was: %s; error was: %s "), $sql, $results->getMessage()));
|
||||||
|
|
Loading…
Reference in a new issue