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

List:       squirrelmail-cvs
Subject:    [SM-CVS] SF.net SVN: squirrelmail:[14766] branches/SM-1_4-STABLE/squirrelmail/ functions/identity.ph
From:       pdontthink--- via squirrelmail-cvs <squirrelmail-cvs () lists ! sourceforge ! net>
Date:       2018-05-01 23:44:45
Message-ID: 1525218285.154604.17107 () sfp-scm-7 ! v30 ! lw ! sourceforge ! com
[Download RAW message or body]

Revision: 14766
          http://sourceforge.net/p/squirrelmail/code/14766
Author:   pdontthink
Date:     2018-05-01 23:44:42 +0000 (Tue, 01 May 2018)
Log Message:
-----------
Minor fix for plugin usage

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

Modified: branches/SM-1_4-STABLE/squirrelmail/functions/identity.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/functions/identity.php	2018-04-19 20:43:35 \
                UTC (rev 14765)
+++ branches/SM-1_4-STABLE/squirrelmail/functions/identity.php	2018-05-01 23:44:42 \
UTC (rev 14766) @@ -143,7 +143,11 @@
         exit;
     }
     // only allow growing the identities list if action is "save" and the last ident \
                is populated
-    if ($edit_identity_local && ($action !== 'save' || \
empty_identity(end($identities)))) { +    // (the input form always has a blank set \
of inputs for adding a new identity) +    // (but we assume when \
$override_edit_identities is used, a plugin is not passing in the +    // identities \
array with a blank element on the end) +    if (!$override_edit_identity && \
$edit_identity_local +     && ($action !== 'save' || \
empty_identity(end($identities)))) {  array_pop($identities);
     }
     // make sure someone not trying to mess with index numbers

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
-----
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