]> granicus.if.org Git - php/commitdiff
Fixed bug #69325 (php_copy_file_ex does not pass the argument)
authorXinchen Hui <laruence@php.net>
Wed, 8 Apr 2015 06:32:31 +0000 (14:32 +0800)
committerXinchen Hui <laruence@php.net>
Wed, 8 Apr 2015 06:33:01 +0000 (14:33 +0800)
NEWS
ext/standard/file.c

diff --git a/NEWS b/NEWS
index 4da1522921e0ecc2200c6fcd19dbbbfdc1472f5c..67c7d530ef2ac220b7ba72a758463feaa2dabf33 100644 (file)
--- a/NEWS
+++ b/NEWS
     required_num_args). (Julien)
 
 - Standard:
+  . Fixed bug #69325 (php_copy_file_ex does not pass the argument).
+    (imbolk at gmail dot com)
   . Fixed bug #69299 (Regression in array_filter's $flag argument in PHP 7).
     (Laruence)
   . Removed call_user_method() and call_user_method_array() functions. (Kalle)
index dae4235a999bc5afe2bd834f73d6da4c473408c3..f31407b75754eecb6af1b3415503c9b153cd70b4 100644 (file)
@@ -1665,7 +1665,7 @@ PHPAPI int php_copy_file(const char *src, const char *dest)
  */
 PHPAPI int php_copy_file_ex(const char *src, const char *dest, int src_flg)
 {
-       return php_copy_file_ctx(src, dest, 0, NULL);
+       return php_copy_file_ctx(src, dest, src_flg, NULL);
 }
 /* }}} */