diff --git a/doc/jotatresa_notes.txt b/doc/jotatresa_notes.txt
index 4105223..01f1a52 100644
--- a/doc/jotatresa_notes.txt
+++ b/doc/jotatresa_notes.txt
@@ -115,7 +115,8 @@ Pon de momento este escudo en la Home. Estamos en proceso de cambiarlo, pero de
 
 12/22/12
 get site up on miarroba
-
+- take j3.dwiko.com offline
+- 
 
 
 
diff --git a/sites/all/modules/tables/tables.module b/sites/all/modules/tables/tables.module
index 293ccef..a32b683 100644
--- a/sites/all/modules/tables/tables.module
+++ b/sites/all/modules/tables/tables.module
@@ -124,7 +124,7 @@ function _tables_prepare($intext) {
     }
     for ($j=$num_rows-1; $j>=0; $j--) {   // find any cols rows that span  row=j, col=k
       for ($k=$num_cols-1; $k>=0; $k--) {
-        if ($cells[$j][$k][0]=='{') {
+        if (substr($cells[$j][$k], 0, 1)=='{') {
           if (isset($colspan[$j][$k]) && $k>0) {
             $colspan[$j][$k-1] = $colspan[$j][$k]+1;
           }
@@ -132,7 +132,7 @@ function _tables_prepare($intext) {
             $colspan[$j][$k-1]=2;
           }
         }
-        elseif ($cells[$j][$k][0] == '^') {
+        elseif (substr($cells[$j][$k], 0, 1) == '^') {
           if (isset($rowspan[$j][$k]) && $j>0) {
             $rowspan[$j-1][$k] = $rowspan[$j][$k]+1;
           }
@@ -159,7 +159,7 @@ function _tables_prepare($intext) {
         elseif ($j % 2 == 0) $outtext .= '<tr class="oddrow">';
         else $outtext .= '<tr class="evenrow">';
         for ($k=0; $k<$num_cols; $k++) {
-          if ($cells[$j][$k][0]=='!') {
+          if (substr($cells[$j][$k], 0, 1)=='!') {
             $cell_type='th';
             $cells[$j][$k]=substr($cells[$j][$k], 1);
           }
@@ -167,7 +167,7 @@ function _tables_prepare($intext) {
             $cell_type='td';
           }
 
-          if ($cells[$j][$k][0] != '^' && $cells[$j][$k][0] != '{') {
+          if (substr($cells[$j][$k], 0, 1) != '^' && substr($cells[$j][$k], 0, 1) != '{') {
             $outtext .="<$cell_type";
             if (isset($rowspan[$j][$k])) $outtext .= ' ROWSPAN=' . $rowspan[$j][$k];
             if (isset($colspan[$j][$k])) $outtext .= ' COLSPAN=' . $colspan[$j][$k];
