Closed eduardocruz closed 12 years ago
Fixed #23
BEFORE: $nickname = end(explode('/', $linked_url));
AFTER: $profile_nickname = explode('/', $linked_url); $nickname = end($profile_nickname);
Explanation on PHP documentation:
The array. This array is passed by reference because it is modified by the function. This means you must pass it a real variable and not a function returning an array because only actual variables may be passed by reference.
http://www.php.net/manual/en/function.end.php
Fixed #23
BEFORE: $nickname = end(explode('/', $linked_url));
AFTER: $profile_nickname = explode('/', $linked_url); $nickname = end($profile_nickname);
Explanation on PHP documentation:
The array. This array is passed by reference because it is modified by the function. This means you must pass it a real variable and not a function returning an array because only actual variables may be passed by reference.
http://www.php.net/manual/en/function.end.php