In zendesk.module, line 155 if (!result){ should be changed to if (!$result){

Comments

mattcasey’s picture

Status: Needs work » Needs review
StatusFileSize
new0 bytes

Because of this bug, Zendesk creates an empty log, which causes errors from the t() function in includes/common.inc. It was giving me watchdog errors every time I viewed the watchdog page.

Patch to latest dev attached.

haza’s picture

StatusFileSize
new569 bytes

Patch seems to be empty,

And this bug is still here.

New patch attached.

positiff’s picture

The same error on line 163 And the 3rd argument in watchdog function should be an array, so, at least:

watchdog('zendesk', 'error: ' . $zd->result['code'], array(), WATCHDOG_ERROR);

instead of

watchdog('zendesk', 'error: ' . $zd->result['code'], WATCHDOG_ERROR);

in all watchdag callbacks

haza’s picture

StatusFileSize
new1.57 KB

New patch with that fixes.

haza’s picture

StatusFileSize
new1.35 KB

New patch against HEAD

haza’s picture

Status: Needs review » Fixed

Commited !

Status: Fixed » Closed (fixed)
Issue tags: -watchdog, -result, -zendesk.module

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