Hi, I'm getting this error just avec masquerading from one user to another.


PDOException: SQLSTATE[HY000]: General error: 1 no such column: TRUE: SELECT TRUE FROM {masquerade_users} WHERE uid_from = :uid_from AND uid_to = :uid_to; Array ( [:uid_from] => 1 [:uid_to] => 7 ) in masquerade_menu_access() (line 243 of /Applications/MAMP/htdocs/zegenie7/drupal-7.x-dev/sites/zegenie-local/modules/contrib/masquerade/masquerade.module).

CommentFileSizeAuthor
#1 1587618-1.patch1.08 KBandypost
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

andypost’s picture

Status: Active » Needs review
FileSize
1.08 KB

Please try this patch, suppose TRUE should be changed to 1

deekayen’s picture

Status: Needs review » Fixed

Committed.

alberto56’s picture

Thanks for your timely response. Works beautifully.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit c086df1 on 7.x-1.x, 8.x-2.x, 8.x-2.x-admin-menu, 8.x-1.x-1836516 authored by andypost, committed by deekayen:
    Issue #1587618 by andypost, alberto56: No such column: TRUE after...

  • Commit c086df1 on 7.x-1.x, 8.x-2.x, 8.x-2.x-admin-menu, 8.x-1.x-1836516 authored by andypost, committed by deekayen:
    Issue #1587618 by andypost, alberto56: No such column: TRUE after...