Index: misc.php
===================================================================
--- misc.php	(revision 40416)
+++ misc.php	(working copy)
@@ -70,8 +70,8 @@
 	if (!file_exists( $filename ) ) {
 		return $result;
 	}
-
-	if ( $markerdata = explode( "\n", implode( '', file( $filename ) ) ));
+	$markerdata = explode( "\n", implode( '', file( $filename ) ) );
+	if ( ! empty( $markerdata ) )
 	{
 		$state = false;
 		foreach ( $markerdata as $markerline ) {
