mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 15:56:07 -07:00
Fix bug in checking for PMS version in settings
This commit is contained in:
parent
ddb0f198a9
commit
5d2c1ffb88
1 changed files with 2 additions and 2 deletions
|
@ -1909,8 +1909,8 @@ $(document).ready(function() {
|
|||
url: 'get_server_identity',
|
||||
async: true,
|
||||
success: function(data) {
|
||||
var version = data.version.split('.')
|
||||
if (parseInt(version[0]) >= 0 && parseInt(version[1]) >= 9 && parseInt(version[2]) >= 14) {
|
||||
var version = (data.version ? data.version.split('.') : null);
|
||||
if (version && parseInt(version[0]) >= 0 && parseInt(version[1]) >= 9 && parseInt(version[2]) >= 14) {
|
||||
$("#debugLogCheck").html("IP address is automatically logged for PMS version 0.9.14 and above.");
|
||||
$("#ip_logging_enable").attr("disabled", true);
|
||||
$("#ip_logging_enable").attr("checked", true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue