ソースを参照

initDbo null case

tags/v0.1.2
Robin Thoni 7年前
コミット
853031ff44
1個のファイルの変更3行の追加0行の削除
  1. 3
    0
      src/Business/lu-webapi-crud-business.js

+ 3
- 0
src/Business/lu-webapi-crud-business.js ファイルの表示

@@ -35,6 +35,9 @@
35 35
 
36 36
                 Business.initDbo = function(dbo)
37 37
                 {
38
+                    if (dbo == null) {
39
+                        return null;
40
+                    }
38 41
                     return Business.extendDeep({}, Business.defaultDbo, dbo);
39 42
                 };
40 43
 

読み込み中…
キャンセル
保存