Plugin Directory

Changeset 873519


Ignore:
Timestamp:
03/11/2014 05:02:04 PM (12 years ago)
Author:
simonwaldherr
Message:

PHP < 5.4 Bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • shownotes/trunk/micromarkdown/micromarkdown.php

    r872249 r873519  
    135135      }
    136136    }
    137     $cel = ['<th>', '<th align="left">', '<th align="right">', '<th align="center">'];
     137    $cel = array('<th>', '<th align="left">', '<th align="right">', '<th align="center">');
    138138    for ($i = 0; $i < count($helper); $i++) {
    139139      $repstr .= $cel[$calign[$i]] . trim($helper[$i]) . '</th>';
    140140    }
    141141    $repstr .= '</tr>';
    142     $cel = ['<td>', '<td align="left">', '<td align="right">', '<td align="center">'];
     142    $cel = array('<td>', '<td align="left">', '<td align="right">', '<td align="center">');
    143143    $helper1 = explode("\n", trim($match[7]));
    144144    for ($i = 0; $i < count($helper1); $i++) {
Note: See TracChangeset for help on using the changeset viewer.