2
0
Эх сурвалжийг харах

[Web] Fix null ua in debug.js - fixes #2615

andryyy 6 жил өмнө
parent
commit
5bb23a2664

+ 3 - 0
data/web/js/site/debug.js

@@ -524,6 +524,9 @@ jQuery(function($){
     });
     } else if (table == 'autodiscover_log') {
       $.each(data, function (i, item) {
+        if (item.ua == null) {
+          item.ua = 'unknown';
+        }
         item.ua = '<span style="font-size:small">' + item.ua + '</span>';
         if (item.service == "activesync") {
           item.service = '<span class="label label-info">ActiveSync</span>';