Add trailing / to regex to silence warning

This commit is contained in:
Nathan Gray 2010-04-27 18:35:14 +00:00
parent 29d273be1a
commit a2daa3f5cc

View File

@ -737,7 +737,7 @@ class calendar_so
{ {
if (substr($col,0,7) == 'egw_cal') // remove table name if (substr($col,0,7) == 'egw_cal') // remove table name
{ {
$col = preg_replace('/^egw_cal[a-z_]*\.','',$col); $col = preg_replace('/^egw_cal[a-z_]*\./','',$col);
} }
if (isset($app_cols[$col])) if (isset($app_cols[$col]))
{ {