Hi LouBabe,

I use PostgreSQL and the INSERT INTO just cannot have the ntid defined with 0 (you actually use '' for a %d which is doubly wrong, but that PHP takes care of.) That 0 is taken literally by PostgreSQL and once I inserted a first ticker, it breaks since the second ticker tries to use 0 again.

See attached patch for the fix.

Thank you.
Alexis Wilke

CommentFileSizeAuthor
newsticker-6.x-insert-into.patch1.15 KBAlexisWilke

Comments

levelos’s picture

Status: Patch (to be ported) » Fixed

Yes, good catch. Left over from the D5 port, where the ntid was getting set using the next id function. Committed to 6.x-dev.

Status: Fixed » Closed (fixed)
Issue tags: -PostgreSQL

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