--- /var/www/shop-joblibre-com/includes/common.inc	2010-11-05 02:14:35.000000000 +0100
+++ /var/www/dev-joblibre-com/includes/common.inc	2010-11-09 01:13:26.000000000 +0100
@@ -1583,7 +1583,8 @@
  *   An HTML string containing a link to the given path.
  */
 function l($text, $path, $options = array()) {
-  global $language;
+  // Check for invalid options, e.g. null
+  if (!is_array($options)) $options = array();
 
   // Merge in defaults.
   $options += array(
