Skip to content
Permalink
Browse files

Optional params must come first

Fixes #1480. Thanks, petecooper.
  • Loading branch information
Bloke committed Mar 24, 2020
1 parent 0228703 commit 9d1fb51f7326afc02077d97fefd940b7c0b6bc99
Showing with 1 addition and 1 deletion.
  1. +1 −1 textpattern/lib/txplib_html.php
@@ -1386,7 +1386,7 @@ function pageby_form($event, $val, $step = null)
* @return string HTML
*/

function upload_form($label, $pophelp = '', $step, $event, $id = '', $max_file_size = 1000000, $label_id = '', $class = '', $wraptag_val = array('div', 'div'), $extra = null, $accept = '')
function upload_form($label, $pophelp, $step, $event, $id = '', $max_file_size = 1000000, $label_id = '', $class = '', $wraptag_val = array('div', 'div'), $extra = null, $accept = '')
{
if (!$label_id) {
$label_id = $event.'-upload';

0 comments on commit 9d1fb51

Please sign in to comment.
You can’t perform that action at this time.