Browse files

Merge pull request #38 from der-On/master

fixed error in datatypes.serialize()
  • Loading branch information...
2 parents 7fb65fd + b66b55c commit 15887dfbccff9bc23e3e88e63bb84eb16d4227f4 @mde mde committed Mar 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/datatypes.js
View
2 lib/datatypes.js
@@ -203,7 +203,7 @@ datatypes = {
, serialize: function (input, options) {
var val
, opts = options || {};
- if (typeof val.toString == 'function') {
+ if (typeof input.toString == 'function') {
val = input.toString();
}
else {

0 comments on commit 15887df

Please sign in to comment.