diff --git a/includes/common.inc b/includes/common.inc
index d64be82..6c026e9 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -2310,6 +2310,9 @@ function l($text, $path, array $options = array()) {
   static $use_theme = NULL;
 
   // Merge in defaults.
+  if (!is_array($options)) {
+    $options = array();
+  }
   $options += array(
     'attributes' => array(),
     'html' => FALSE,
