1 --- data/helper.php 2009-08-04 11:06:52.614221159 +0300
2 +++ tmp/helper.php 2009-08-04 11:06:34.000000000 +0300
4 * @returns array with key, type, ismulti, title
6 function _column($col){
7 - if(strtolower(substr($col,-1)) == 's'){
8 + if (strtolower(substr($col,-2)) == 'es') {
9 + $col = substr($col,0,-2);
11 + } elseif (strtolower(substr($col,-1)) == 's') {
12 $col = substr($col,0,-1);
18 list($key,$type) = explode('_',$col,2);