[Slim-Checkins] r9176 - /trunk/server/Slim/Buttons/Common.pm
adrian at svn.slimdevices.com
adrian at svn.slimdevices.com
Sat Aug 26 05:29:28 PDT 2006
Author: adrian
Date: Sat Aug 26 05:29:26 2006
New Revision: 9176
URL: http://svn.slimdevices.com?rev=9176&view=rev
Log:
Bug: N/A
Description: silence another undef warning
Modified:
trunk/server/Slim/Buttons/Common.pm
Modified: trunk/server/Slim/Buttons/Common.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Buttons/Common.pm?rev=9176&r1=9175&r2=9176&view=diff
==============================================================================
--- trunk/server/Slim/Buttons/Common.pm (original)
+++ trunk/server/Slim/Buttons/Common.pm Sat Aug 26 05:29:26 2006
@@ -1766,7 +1766,7 @@
my $newscreen2 = $client->modeParam('screen2active');
- if ($newscreen2 && $newscreen2 eq 'periodic' && $oldscreen2 ne 'periodic') {
+ if ($newscreen2 && $newscreen2 eq 'periodic' && (!$oldscreen2 || $oldscreen2 ne 'periodic')) {
my $linesfunc = $client->lines2periodic();
$newlines->{'screen2'} = &$linesfunc($client);
More information about the checkins
mailing list