Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
fixing a bug where account creation is not triggered in firefox when …
Browse files Browse the repository at this point in the history
…comparing string values from ldap as integer
  • Loading branch information
Barry de Graaff committed Feb 17, 2020
1 parent 5b7410e commit 07b5012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zimlet/com_zimbra_rocket/com_zimbra_rocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ZimbraRocketZimlet.prototype.init = function () {

if(zimletInstance.createRocketAccount == "true")
{
if(zimletInstance.accountCreateInteger > zimletInstance.userAccountCreateInteger)
if(parseInt(zimletInstance.accountCreateInteger) > parseInt(zimletInstance.userAccountCreateInteger))
{
zimletInstance.setUserProperty("accountCreateInteger", zimletInstance.accountCreateInteger, true);
ZimbraRocketZimlet.prototype.createAccount();
Expand Down

0 comments on commit 07b5012

Please sign in to comment.