Skip to content

Commit e3fb121

Browse files
author
Tom Wilson
committed
added fix for FirebaseExtended#286
1 parent 2baec65 commit e3fb121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

angularfire.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
for (var i = 0; i < index.length; i++) {
6060
var val = input[index[i]];
6161
if (val) {
62-
val.$id = index[i];
62+
if (angular.isObject(val)) val.$id = index[i];
6363
sorted.push(val);
6464
}
6565
}

0 commit comments

Comments
 (0)