In Drupal 5:

cache_set($cid, $table = 'cache', $data, $expire = CACHE_PERMANENT, $headers = NULL)

In Drupal 6:

cache_set($cid, $data, $table = 'cache', $expire = CACHE_PERMANENT, $headers = NULL)

The $data, $table = 'cache' part is reversed...

This will be fixed in the next release...

Comments

d------’s picture

Status: Active » Needs review
d------’s picture

Status: Needs review » Fixed
d------’s picture

Status: Fixed » Closed (fixed)