Commit:    27c93410fb49207c14da06959d7888bcc026cb56
Author:    Anatol Belski <[email protected]>         Tue, 5 Sep 2017 19:42:11 +0200
Parents:   8cd83d2091d29b4b6b770f3cb916a05f213ef7af
Branches:  master

Link:       
http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=27c93410fb49207c14da06959d7888bcc026cb56

Log:
Don't process files multiple times

Changed paths:
  M  include/PeclExt.php


Diff:
diff --git a/include/PeclExt.php b/include/PeclExt.php
index 2f5ffb8..66aa39d 100644
--- a/include/PeclExt.php
+++ b/include/PeclExt.php
@@ -872,6 +872,8 @@ if (!function_exists('rmtools\combinations')) {
                                $files_to_zip[] = $tgt_fl;
                        }
                }
+
+               $files_to_zip = array_unique($files_to_zip);
 nodoc:
 
                /* pack */


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to