You are here

function imagepicker_uid_load in Image Picker 6.2

Same name and namespace in other branches
  1. 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;
}