[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-cvs
Subject:    [SM-CVS] =?utf-8?q?SF=2Enet_SVN=3A_squirrelmail=3A=5B15014=5D_bra?= =?utf-8?q?nches/SM-1=5F4-ST__ABL
From:       pdontthink--- via squirrelmail-cvs <squirrelmail-cvs () lists ! sourceforge ! net>
Date:       2024-03-27 10:16:57
Message-ID: 1711534617.197344.25834 () sfp-scm-4 ! v30 ! lw ! sourceforge ! com
[Download RAW message or body]

Revision: 15014
          http://sourceforge.net/p/squirrelmail/code/15014
Author:   pdontthink
Date:     2024-03-27 10:16:56 +0000 (Wed, 27 Mar 2024)
Log Message:
-----------
Fix PHP warning

Modified Paths:
--------------
    branches/SM-1_4-STABLE/squirrelmail/functions/page_header.php

Modified: branches/SM-1_4-STABLE/squirrelmail/functions/page_header.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/functions/page_header.php	2024-03-27 09:52:05 \
                UTC (rev 15013)
+++ branches/SM-1_4-STABLE/squirrelmail/functions/page_header.php	2024-03-27 10:16:56 \
UTC (rev 15014) @@ -261,7 +261,7 @@
              "\n    if (alreadyFocused) return;\n";
 
             global $action, $reply_focus;
-            if (strpos($action, 'reply') !== FALSE && $reply_focus)
+            if (!empty($action) && strpos($action, 'reply') !== FALSE && \
$reply_focus)  {
                 if ($reply_focus == 'select') $js .= \
                "document.forms['compose'].body.select();}\n";
                 else if ($reply_focus == 'focus') $js .= \
"document.forms['compose'].body.focus(); \
cursorToTop(document.forms['compose'].body);}\n";

This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.



-----
squirrelmail-cvs mailing list
List address: squirrelmail-cvs@lists.sourceforge.net
List info (subscribe/unsubscribe/change options): \
                https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
Repository: http://squirrelmail.org/svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic