/dev/random

Reality has a liberal bias

/dev/random random header image

OOPS!

January 26th, 2004 · No Comments · Drupal, Programming

I just fixed a bug in my drupal tune module so registered users can now actually upload their tunes to shareyourmusic.com.

It turns out that I had the acccess hook declared as: function tune_access(), which is how it was in the original file module, when it should have been: function tune_access($op, $node)

The result of that was only an administrator could upload tunes, not a regular user, even though upload access was allowed.

Tags: