r1124 + get rid of array_push()
authorDenis Ovsienko <infrastation@yandex.ru>
Tue, 4 Sep 2007 13:30:07 +0000 (13:30 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Tue, 4 Sep 2007 13:30:07 +0000 (13:30 +0000)
inc/functions.php

index 02be549ac64ee39efe2ad5b22d3fb606c5ecd26b..3444d639d7d4c570b03734568b3b382e93371faf 100644 (file)
@@ -1016,7 +1016,7 @@ function findAllEndpoints ($object_id)
        $regular = array();
        foreach ($addresses as $idx => $address)
                if ($address['type'] == 'regular')
-                       array_push ($regular, $address['ip']);
+                       $regular[] = $address['ip'];
        return $regular;
 }