about summary refs log tree commit diff
path: root/page.php
diff options
context:
space:
mode:
Diffstat (limited to 'page.php')
-rw-r--r--page.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/page.php b/page.php
index f0dcc3d..85b657f 100644
--- a/page.php
+++ b/page.php
@@ -127,7 +127,7 @@ function load_song( $number, $transp = 0 )
 		}
 
 		if ( preg_match( "/\{p?\d*\((.+m?)\)\}/", $line, $matches)
-			|| preg_match("/^{Key: ?(.*)}/i", $line, $matches)
+			|| preg_match("/^{Key: ?([^ ]*).*}/i", $line, $matches)
 		)
 		{
 			if ( isset( $suggestedSong[$current_song]))