Skip to content
Permalink
Browse files

! Last privacy fix was generating database errors for non-admins. (Lo…

…ad.php)
  • Loading branch information...
Nao committed Dec 8, 2017
1 parent d530819 commit 3897716fa9a9bb4e1c41fc26d2007799121614ae
Showing with 1 addition and 0 deletions.
  1. +1 −0 core/app/Load.php
@@ -998,6 +998,7 @@ function loadMemberData($users, $is_name = false, $set = 'normal')
SELECT m.id_member, m.poster_time, m.id_msg, m.id_topic, m.subject
FROM {db_prefix}messages AS m
LEFT JOIN {db_prefix}topics AS t ON t.id_topic = m.id_topic
LEFT JOIN {db_prefix}boards AS b ON b.id_topic = t.id_topic
WHERE {query_see_board}
AND m.id_member' . (count($new_loaded_ids) == 1 ? ' = {int:loaded_ids}' : ' IN ({array_int:loaded_ids})') . '
AND {query_see_topic}

3 comments on commit 3897716

@French77

This comment has been minimized.

Copy link
Contributor

replied Dec 9, 2017

Unknown column 'b.id_topic' in 'on clause'

Bestand: /home/xxxxxxx/app/Load.php

  • Line: 1007
@Nao

This comment has been minimized.

Copy link
Member Author

replied Dec 12, 2017

OMG... I didn't even double-check that my fix was the same as for lestrades.com lol.

@Nao

This comment has been minimized.

Copy link
Member Author

replied Mar 9, 2018

So, err... Is this still a problem..? Can't remember.

Please sign in to comment.
You can’t perform that action at this time.