@@ -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 ,$ data , $ item ,$ subitem ='null ' ) {
958+ function set_cached_item ($ index ,$ item ,$ subitem ='null ' , $ data ) {
959959 if (DEBUG_ENABLED && (($ fargs =func_get_args ())||$ fargs ='NOARGS ' ))
960960 debug_log ('Entered (%%) ' ,1 ,0 ,__FILE__ ,__LINE__ ,__METHOD__ ,$ fargs );
961961
@@ -2065,8 +2065,8 @@ function ldap_error_msg($msg,$errnum) {
20652065 *
20662066 * Usage Examples:
20672067 * <code>
2068- * draw_jpeg_photo(0,'cn=Bob,ou=People,dc=example,dc=com',0, "jpegPhoto",true,array('img_opts'=>"border: 1px; width: 150px"));
2069- * draw_jpeg_photo(1,'cn=Fred,ou=People,dc=example,dc=com',1, null);
2068+ * draw_jpeg_photo(0,'cn=Bob,ou=People,dc=example,dc=com',"jpegPhoto",0 ,true,array('img_opts'=>"border: 1px; width: 150px"));
2069+ * draw_jpeg_photo(1,'cn=Fred,ou=People,dc=example,dc=com',null,1 );
20702070 * </code>
20712071 *
20722072 * @param object The Server to get the image from.
@@ -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 ,$ index , $ attr_name ='jpegphoto ' ,$ draw_delete_buttons =false ,$ options =array ()) {
2082+ function draw_jpeg_photo ($ server ,$ dn ,$ attr_name ='jpegphoto ' , $ 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