Skip to content

Commit a0117e4

Browse files
committed
Mandatory function arguments must be listed before optional ones. Alternate fix for 3a75a32
1 parent 3bfd55d commit a0117e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ function get_cached_item($index,$item,$subitem='null') {
955955
*
956956
* Returns true on success of false on failure.
957957
*/
958-
function set_cached_item($index,$item,$subitem='null',$data) {
958+
function set_cached_item($index,$item,$subitem,$data) {
959959
if (DEBUG_ENABLED && (($fargs=func_get_args())||$fargs='NOARGS'))
960960
debug_log('Entered (%%)',1,0,__FILE__,__LINE__,__METHOD__,$fargs);
961961

@@ -2079,7 +2079,7 @@ function ldap_error_msg($msg,$errnum) {
20792079
* @param array Specifies optional image and CSS style attributes for the table tag. Supported keys are
20802080
* fixed_width, fixed_height, img_opts.
20812081
*/
2082-
function draw_jpeg_photo($server,$dn,$attr_name='jpegphoto',$index,$draw_delete_buttons=false,$options=array()) {
2082+
function draw_jpeg_photo($server,$dn,$attr_name,$index,$draw_delete_buttons=false,$options=array()) {
20832083
if (DEBUG_ENABLED && (($fargs=func_get_args())||$fargs='NOARGS'))
20842084
debug_log('Entered (%%)',1,0,__FILE__,__LINE__,__METHOD__,$fargs);
20852085

0 commit comments

Comments
 (0)