From 8f2169983fe8ce351072083cba40a53c5215f5ed Mon Sep 17 00:00:00 2001
From: Lloyd Hilaiel <lloyd@hilaiel.com>
Date: Mon, 16 Apr 2012 12:07:43 -0600
Subject: [PATCH] fix regression where an undefined second argument to .get()
 would cause a javascript error - issue #1442

---
 resources/static/include_js/include.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/resources/static/include_js/include.js b/resources/static/include_js/include.js
index 4695de421..212c3f444 100644
--- a/resources/static/include_js/include.js
+++ b/resources/static/include_js/include.js
@@ -1122,6 +1122,7 @@
       },
       // get an assertion
       get: function(callback, options) {
+        options = options || {};
         checkCompat(true);
         internalWatch({
           onlogin: function(assertion) {
-- 
GitLab