Posting to Twitter results in a bunch of errors because a call to user_load() is passing in the global $user object instead of the uid.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna created an issue. See original summary.

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
650 bytes

This fixes the problem for 7.x-6.x.

DamienMcKenna’s picture

Version: 7.x-6.x-dev » 6.x-5.x-dev
FileSize
630 bytes

For 6.x-5.x.

DamienMcKenna’s picture

Version: 6.x-5.x-dev » 7.x-6.x-dev
FileSize
650 bytes

I uploaded the 6.x-5.x patch too quickly.

DamienMcKenna’s picture

Version: 7.x-6.x-dev » 7.x-5.x-dev
FileSize
582 bytes

Ported to 7.x-5.x

  • DamienMcKenna committed eb86cd0 on 6.x-5.x
    Issue #2559153 by DamienMcKenna: Incorrect use of user_load() when...

  • DamienMcKenna committed 2d71a05 on
    Issue #2559153 by DamienMcKenna: Incorrect use of user_load() when...

  • DamienMcKenna committed d7a3af6 on
    Issue #2559153 by DamienMcKenna: Incorrect use of user_load() when...
DamienMcKenna’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

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