Line 263 of textactions.inc should be:

$sql = "SELECT nid FROM {image} INNER JOIN files AS f WHERE f.filepath = '%s' LIMIT 1";

(curly braces around 'image')

Comments

peter.walter’s picture

Sorry... and 'files':

$sql = "SELECT nid FROM {image} INNER JOIN {files} AS f WHERE f.filepath = '%s' LIMIT 1";

dman’s picture

Status: Needs review » Fixed

Heh.
I didn't review that code too hard when I took the contributed port (I haven't used it yet)
Anyway, thanks! - that's all cool.
I've just committed it to DRUPAL-6--1 dev
I don't think there's enough activity to revisit this in D5

Status: Fixed » Closed (fixed)

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