Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error in SQL generated by get_objects_in_group function (Trac #2437) #2437

Closed
elgg-gitbot opened this issue Feb 16, 2013 · 3 comments
Closed

Comments

@elgg-gitbot
Copy link

@elgg-gitbot elgg-gitbot commented Feb 16, 2013

Original ticket http://trac.elgg.org/ticket/2437 on 40666970-11-19 by trac user srokap, assigned to unknown.

Elgg version: 1.7

In core function get_objects_in_group the $CONFIG is used, but never declared as global. SQLException is thrown.

Adding at /engine/lib/group.php on line 464:

global $CONFIG;

Solves the problem.

@elgg-gitbot
Copy link
Author

@elgg-gitbot elgg-gitbot commented Feb 16, 2013

cash wrote on 40667026-02-24

Fixes #2437 - fixes bug introduced in [svn:6707] - thanks for the report!

@elgg-gitbot
Copy link
Author

@elgg-gitbot elgg-gitbot commented Feb 16, 2013

cash wrote on 40670041-06-28

That comment should say that [svn:6892] was the revision that fixed this bug

@elgg-gitbot
Copy link
Author

@elgg-gitbot elgg-gitbot commented Feb 16, 2013

brettp wrote on 40733136-09-08

(In [svn:6960]) Refs #2437: Merged [svn:6707] to trunk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant