switch(true) {
case ($width === false && $height == false):
$a->setAttribute('src', $imap[$matches[1]]->URL(-1,'/Images'));
- continue;
+ continue 2;
case ($width === false || $height === false):
// should result in Wx0 or 0xH ????
$a->setAttribute('src', $imap[$matches[1]]->URL("{$width}x{$height}",'/Images/Thumb'));
- continue;
+ continue 2;
}