Révision | 52053b3ccd4551b1af45ce01565cfa30418b6eb3 (tree) |
---|---|
l'heure | 2017-10-30 03:02:13 |
Auteur | umorigu <umorigu@gmai...> |
Commiter | umorigu |
BugTrack/2213 Fix ArgumentCountError on PHP7.1
@@ -755,7 +755,7 @@ function get_script_uri() | ||
755 | 755 | * @param $initialize true if you initialize URI |
756 | 756 | * @param $uri_set URI set manually |
757 | 757 | */ |
758 | -function pkwk_script_uri_base($uri_type, $initialize, $uri_set) | |
758 | +function pkwk_script_uri_base($uri_type, $initialize = null, $uri_set = null) | |
759 | 759 | { |
760 | 760 | global $script_directory_index; |
761 | 761 | static $initialized = false; |
@@ -848,7 +848,7 @@ function pkwk_base_uri_type_stack_peek() | ||
848 | 848 | * @param $uri_type uri_type on push and non-peeking |
849 | 849 | * @return $uri_type uri_type for peeking |
850 | 850 | */ |
851 | -function _pkwk_base_uri_type_stack($peek, $push, $uri_type) | |
851 | +function _pkwk_base_uri_type_stack($peek, $push, $uri_type = null) | |
852 | 852 | { |
853 | 853 | static $uri_types = array(); |
854 | 854 | if ($peek) { |