Skip to content

Commit 6ea617e

Browse files
author
dmlenton
committed
Update to ASK anonymous processing
1 parent 4bec92a commit 6ea617e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/ask.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ class Ask {
459459
}
460460
processAsk() {
461461
const _this = this;
462-
if (this.anonymous) _this.anonymous = (_this.anonymous === "true" || _this.anonymous == 1 || _this.anonymous) ? true : false;
462+
_this.anonymous = (_this.anonymous === "true" || _this.anonymous == 1 || _this.anonymous) ? true : false;
463463
_this.responded = (_this.responded === "true" || _this.responded == 1 || _this.responded) ? true : false;
464464
if (_this.ask_id) _this.ask_id = parseInt(_this.ask_id);
465465
if (_this.subject_id) _this.subject_id = parseInt(_this.subject_id);

0 commit comments

Comments
 (0)