[Rt-commit] r19813 - rt/3.8/trunk/sbin
sartak at bestpractical.com
sartak at bestpractical.com
Mon Jun 1 11:19:33 EDT 2009
Author: sartak
Date: Mon Jun 1 11:19:32 2009
New Revision: 19813
Modified:
rt/3.8/trunk/sbin/rt-email-dashboards.in
Log:
Avoid undef warning if this is the first time a dashboard has been sent
Modified: rt/3.8/trunk/sbin/rt-email-dashboards.in
==============================================================================
--- rt/3.8/trunk/sbin/rt-email-dashboards.in (original)
+++ rt/3.8/trunk/sbin/rt-email-dashboards.in Mon Jun 1 11:19:32 2009
@@ -191,7 +191,7 @@
}
else {
$subscription->SetSubValues(
- Counter => $subscription->SubValue('Counter') + 1 )
+ Counter => ($subscription->SubValue('Counter')||0) + 1 )
unless $opts{'dryrun'};
}
}
More information about the Rt-commit
mailing list