@@ -955,7 +955,7 @@ function get_cached_item($index,$item,$subitem='null') {
955
955
*
956
956
* Returns true on success of false on failure.
957
957
*/
958
- function set_cached_item ($ index ,$ data , $ item ,$ subitem ='null ' ) {
958
+ function set_cached_item ($ index ,$ item ,$ subitem ='null ' , $ data ) {
959
959
if (DEBUG_ENABLED && (($ fargs =func_get_args ())||$ fargs ='NOARGS ' ))
960
960
debug_log ('Entered (%%) ' ,1 ,0 ,__FILE__ ,__LINE__ ,__METHOD__ ,$ fargs );
961
961
@@ -2065,8 +2065,8 @@ function ldap_error_msg($msg,$errnum) {
2065
2065
*
2066
2066
* Usage Examples:
2067
2067
* <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 );
2070
2070
* </code>
2071
2071
*
2072
2072
* @param object The Server to get the image from.
@@ -2079,7 +2079,7 @@ function ldap_error_msg($msg,$errnum) {
2079
2079
* @param array Specifies optional image and CSS style attributes for the table tag. Supported keys are
2080
2080
* fixed_width, fixed_height, img_opts.
2081
2081
*/
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 ()) {
2083
2083
if (DEBUG_ENABLED && (($ fargs =func_get_args ())||$ fargs ='NOARGS ' ))
2084
2084
debug_log ('Entered (%%) ' ,1 ,0 ,__FILE__ ,__LINE__ ,__METHOD__ ,$ fargs );
2085
2085
0 commit comments