Index: trunk/phase3/includes/Linker.php |
— | — | @@ -951,7 +951,7 @@ |
952 | 952 | $trail = ""; |
953 | 953 | } |
954 | 954 | $linkRegexp = '/\[\[(.*?)\]\]' . preg_quote( $trail, '/' ) . '/'; |
955 | | - if ($match[1][0] == ':') |
| 955 | + if (isset($match[1][0]) && $match[1][0] == ':') |
956 | 956 | $match[1] = substr($match[1], 1); |
957 | 957 | $thelink = $this->makeLink( $match[1], $text, "", $trail ); |
958 | 958 | } |