diff options
| author | jvoisin | 2017-10-26 13:39:33 +0200 |
|---|---|---|
| committer | jvoisin | 2017-10-26 13:39:33 +0200 |
| commit | fa40064f0851b988478b283be4663ade1cf7f7e0 (patch) | |
| tree | 30026a4e5fe7f2f3793c968ce321f4f2cc44d0ef /src/sp_disabled_functions.c | |
| parent | 5964129ff04d797081a0b24fb9683a909e1cc0e3 (diff) | |
Remove an arbitrary limitation
Diffstat (limited to 'src/sp_disabled_functions.c')
| -rw-r--r-- | src/sp_disabled_functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_disabled_functions.c b/src/sp_disabled_functions.c index f0b785c..0b1cc91 100644 --- a/src/sp_disabled_functions.c +++ b/src/sp_disabled_functions.c | |||
| @@ -191,7 +191,7 @@ bool should_disable(zend_execute_data* execute_data) { | |||
| 191 | "%d%s argument of the function '%s', but it takes only %d arguments. " | 191 | "%d%s argument of the function '%s', but it takes only %d arguments. " |
| 192 | "Matching on _all_ arguments instead.", | 192 | "Matching on _all_ arguments instead.", |
| 193 | config_node->pos, | 193 | config_node->pos, |
| 194 | (config_node->pos == 1)?"st":(config_node->pos)?"nd":"th", | 194 | GET_SUFFIX(config_node->pos), |
| 195 | complete_path_function, nb_param); | 195 | complete_path_function, nb_param); |
| 196 | } else { | 196 | } else { |
| 197 | i = config_node->pos; | 197 | i = config_node->pos; |
