Quantcast
Channel: Zenphoto forum
Viewing all articles
Browse latest Browse all 2917

BigLouis87 on "handle username with spaces"

$
0
0

I have to pass a username via a GET request and then take it to load a user_obj:
$user_obj = Zenphoto_Authority::getAnAdmin(array('user=' => $getuser));
The problem rises when I try to pass a username with some spaces inside, the function cannot get any admin.
Any ideas how to solve it?
Thanks


Viewing all articles
Browse latest Browse all 2917

Trending Articles