Permalink
Browse files

Fixed AddedAutostart check

  • Loading branch information...
1 parent 1c27c96 commit d6af5351e71319453bdf9ffc31b5b2c734abb1a7 @zerodogg committed Feb 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 dayplanner
View
2 dayplanner
@@ -4971,7 +4971,7 @@ sub InitDPCore
# Finally, initialize HTTP subscriptions if needed
LoadHTTPSubscriptions();
# Add autostart if needed
- if (not defined($InternalConfig{AddedAutostart}) and $InternalConfig{AddedAutostart} eq "1")
+ if (not defined($InternalConfig{AddedAutostart}) or $InternalConfig{AddedAutostart} ne '1')
{
DP_AddAutostart();
$InternalConfig{AddedAutostart} = 1;

0 comments on commit d6af535

Please sign in to comment.