Line 1634 should changed from:

$nids = implode(',', array_map('intval', array_keys($content_ids)));

to

$cids = implode(',', array_map('intval', array_keys($content_ids)));

CommentFileSizeAuthor
#3 flag_access_cids.patch855 bytesquicksketch
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fizk’s picture

Sorry, Line 1634 in flag/flag.module

quicksketch’s picture

Status: Active » Needs review

Excellent, thanks fizk!

quicksketch’s picture

Title: SQL typo » SQL typo in Comment Access Check
Status: Needs review » Fixed
FileSize
855 bytes

It was actually line 784, flag.module doesn't even have 1634 lines in it. Regardless I committed the attached fix.

Status: Fixed » Closed (fixed)

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