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

Commit 07b5012

Browse files
author
Barry de Graaff
committed
fixing a bug where account creation is not triggered in firefox when comparing string values from ldap as integer
1 parent 5b7410e commit 07b5012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zimlet/com_zimbra_rocket/com_zimbra_rocket.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ZimbraRocketZimlet.prototype.init = function () {
2121

2222
if(zimletInstance.createRocketAccount == "true")
2323
{
24-
if(zimletInstance.accountCreateInteger > zimletInstance.userAccountCreateInteger)
24+
if(parseInt(zimletInstance.accountCreateInteger) > parseInt(zimletInstance.userAccountCreateInteger))
2525
{
2626
zimletInstance.setUserProperty("accountCreateInteger", zimletInstance.accountCreateInteger, true);
2727
ZimbraRocketZimlet.prototype.createAccount();

0 commit comments

Comments
 (0)