Changeset 25018 for trunk/nbm.php


Ignore:
Timestamp:
Oct 19, 2013, 7:43:04 PM (11 years ago)
Author:
mistic100
Message:

remove all array_push (50% slower than []) + some changes missing for feature:2978

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nbm.php

    r20609 r25018  
    4646  subscribe_notification_by_mail(false, array($_GET['subscribe']));
    4747}
    48 else
    49 if (isset($_GET['unsubscribe'])
     48else if (isset($_GET['unsubscribe'])
    5049    and preg_match('/^[A-Za-z0-9]{16}$/', $_GET['unsubscribe']))
    5150{
     
    5453else
    5554{
    56   array_push($page['errors'], l10n('Unknown identifier'));
     55  $page['errors'][] = l10n('Unknown identifier');
    5756}
    5857
Note: See TracChangeset for help on using the changeset viewer.