diff --git a/includes/common.inc b/includes/common.inc
index 05af5a7..6d02ed4 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -1586,6 +1586,9 @@ function l($text, $path, $options = array()) {
   global $language;
 
   // Merge in defaults.
+  if (!is_array($options)) {
+    $options = array();
+  }
   $options += array(
       'attributes' => array(),
       'html' => FALSE,
