drupal_json() echos it's result directly, and doesn't return any values. I noticed this in autotextfields.inc, but should check any other drupal_json() calls as well.

CommentFileSizeAuthor
#2 examples_drupal_json.patch2.24 KBilo

Comments

ilo’s picture

Thanks for reporting this, devianintegral. I'll make a full code review for this issue.

ilo’s picture

Status: Active » Needs review
StatusFileSize
new2.24 KB

Ok, all the files affected are from ahah_example.

rfay’s picture

This works for me as long as it's tested manually before commit. Thanks very much!

lanzs’s picture

#2: examples_drupal_json.patch queued for re-testing.

tr’s picture

Status: Needs review » Fixed

Committed. Thanks. Commit fd2d6e96ecc7379aa7d44016e5acd9881319cbec

Status: Fixed » Closed (fixed)

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