off-by-one: when strlen == trim_at, we also don't want to print ...
[squirrelmail.git] / functions / identity.php
index 3977ac2a7f430b9c2a432b07b2e34563dda5b48a..6cece7438d33d67c2683e9f41a57bb1e2ad5d1a7 100644 (file)
@@ -36,7 +36,8 @@ function get_identities() {
         'index' => 0 );
 
     /* If there are any others, add them to the array */
-    if (!empty($num_ids) && $num_ids > 1) {                                                                 for ($i=1;$i<$num_ids;$i++) {
+    if (!empty($num_ids) && $num_ids > 1) {
+        for ($i=1;$i<$num_ids;$i++) {
             $identities[] = array('full_name' => getPref($data_dir,$username,'full_name' . $i),
             'email_address' => getPref($data_dir,$username,'email_address' . $i),
             'reply_to' => getPref($data_dir,$username,'reply_to' . $i),