Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: johnennew commentedpatch attached. Note this is not an issue in 7.x-2.x branch.
Comment #2
johnennew CreditAttribution: johnennew commentedTests pass - committing to 6.x-2.x
Comment #3.0
(not verified) CreditAttribution: commentedAdded another sentence with problems.