I'm unable to add new photos to a created album.
I've found the error in the code, in "album_page" method the $user->uid variable it's used (line 141 on album.module) to see if the user has permission to add images, but $user object it's not initialized, so I added "global $user" before the if sentence and it just works.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | album_3.module | 7.94 KB | deNuo |
Comments
Comment #1
dboomerang commentedAdding
global $user;
Didnt work for me, maybe i added at the wrong place?
Can anyone advise?
Comment #2
deNuo commentedHere's the module file, updated to allow additional photos to already existent albums!