Index: coder.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/coder/coder.module,v
retrieving revision 1.88.2.59.2.5
diff -u -r1.88.2.59.2.5 coder.module
--- coder.module	1 Oct 2008 14:08:38 -0000	1.88.2.59.2.5
+++ coder.module	28 Dec 2008 04:43:39 -0000
@@ -1200,9 +1200,19 @@
             $in_quote_html = '>';
           }
           if ($in_quote) {
-            $this_quote_lines[$this_quote_index] .= $char;
+            if (!isset($this_quote_lines[$this_quote_index])) {
+              $this_quote_lines[$this_quote_index] = $char;
+            }
+            else {
+              $this_quote_lines[$this_quote_index] .= $char;
+            }
             if ($in_quote == '"') {
-              $this_doublequote_lines[$this_doublequote_index] .= $char;
+              if (!isset($this_doublequote_lines[$this_doublequote_index])) {
+                $this_doublequote_lines[$this_doublequote_index] = $char;
+              }
+              else {
+                $this_doublequote_lines[$this_doublequote_index] .= $char;
+              }
             }
             if ($in_quote_html) {
               $this_html_lines .= $char;
@@ -1865,9 +1875,9 @@
   // Extract description from warning.
   if (is_array($warning)) {
     $description = isset($warning['#description']) ? $warning['#description'] : '';
-    $link = $warning['#link'];
+    $link = isset($warning['#link']) ? $warning['#link'] : '';
     $warning = $warning['#warning'];
-    if (isset($link)) {
+    if (!empty($link)) {
       $warning .= '  ('. l(t('Drupal Docs'), $link) .')';
     }
   }
