import rt 3.8.11
[freeside.git] / rt / share / html / REST / 1.0 / logout
index a6b0bac..2e59b1d 100755 (executable)
@@ -46,6 +46,6 @@
 %#
 %# END BPS TAGGED BLOCK }}}
 <%PERL>
-tied(%session)->delete if (defined %session);
+tied(%session)->delete if keys %session;
 </%PERL>
 RT/<% $RT::VERSION %> 200 Ok