function imagepicker_uid_load in Image Picker 6.2
Same name and namespace in other branches
- 7 imagepicker.module \imagepicker_uid_load()
File
- ./
imagepicker.module, line 449 - Enables permitted roles to upload images for insertion into configured nodes.
Code
function imagepicker_uid_load($arg) {
global $user;
return is_numeric($arg) && $user->uid == $arg ? $arg : FALSE;
}