Welcome to Geeklog, Anonymous Saturday, December 28 2024 @ 08:05 pm EST
Geeklog Forums
inmemoriam 0.9.0 bug
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
Here is a bug that I am WAY surprised nobody has mentioned.
A user, without admin rights, but having permission to create an album, creates an album, but cannot add media to it. That's just wrong! I don't know how I missed it.
A user, without admin rights, but having permission to create an album, creates an album, but cannot add media to it. That's just wrong! I don't know how I missed it.
7
5
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
If it makes a difference to you, here is how to fix it:
find line 109 in media.php, which should look like this:
and replace it with this:
//allow
} elseif ($A['allow_submit'] == '0' && $_USER['uid'] != $A['owner_id']) {
I just cant believe that in 700 downloads, nobody saw this issue.
find line 109 in media.php, which should look like this:
Text Formatted Code
if ($A['allow_submit'] == '0' && !SEC_hasRights('inmemoriam.admin')){Text Formatted Code
if (SEC_hasRights('inmemoriam.admin')){//allow
} elseif ($A['allow_submit'] == '0' && $_USER['uid'] != $A['owner_id']) {
5
5
Quote
All times are EST. The time is now 08:05 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content