Chances are that you're looking at different URLs, one which specifies a scheduled conference, one which doesn't. For example, the URL http://url-to-ocs/index.php/[conf_path]/[sched_conf_path]/about/registration
, the [conf_path] part of the URL and the [sched_conf_path] part of the URL must both be set in order to display the registration information (which is what the line you commented out was supposed to check).
If the [sched_conf_path] part is set to "index", that means no scheduled conference was specified in the URL.
Public Knowledge Project Team
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada