In the same spirit of this bug the code from
function session_limit_settings_byrole() {
$result = db_query('SELECT name, value FROM {variable} WHERE name LIKE "session_limit_rid_%" ORDER BY name');
must be replaced with
$result = db_query("SELECT name, value FROM {variable} WHERE name LIKE 'session_limit_rid_%' ORDER BY name");
same for
db_query('DELETE FROM {variable} WHERE name LIKE "session_limit_rid_%"');
Probably this applies to D7 too.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | session_limit-plsql_support-1426002.patch | 1.11 KB | johnennew |
Comments
Comment #1
johnennew commentedpatch attached. Note this is not an issue in 7.x-2.x branch.
Comment #2
johnennew commentedTests pass - committing to 6.x-2.x
Comment #3.0
(not verified) commentedAdded another sentence with problems.