This is how it looks like:

The one with the ? is wrong. Anyone knows this problem?
Both lines have a '?'Pythoniels wrote:
The one with the ? is wrong. Anyone knows this problem?
global $gCms;
$db =& $gCms->GetDb();
$content_id = $gCms->variables['pageinfo']->content_id;
//modified for preview mode
if( $content_id == '__CMS_PREVIEW_PAGE__' ) $content_id = $_SESSION['cms_preview_data']['content_id'];
//end of mod
$fields = array();