Download & Extend

No such column: TRUE after masquerading

Project:Masquerade
Version:7.x-1.0-rc4
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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).

Comments

#1

Status:active» needs review

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

AttachmentSizeStatusTest resultOperations
1587618-1.patch1.08 KBIgnored: Check issue status.NoneNone

#2

Status:needs review» fixed

Committed.

#3

Thanks for your timely response. Works beautifully.

#4

Status:fixed» closed (fixed)

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

nobody click here