forked from Cavemanon/cavepaintings
html_escape all exception messages - pass query out-of-band if we want it formatted
This commit is contained in:
@ -63,7 +63,7 @@ class UserClass
|
||||
$min_ability = $a;
|
||||
}
|
||||
}
|
||||
throw new SCoreException("Unknown ability '".html_escape($ability)."'. Did the developer mean '".html_escape($min_ability)."'?");
|
||||
throw new SCoreException("Unknown ability '$ability'. Did the developer mean '$min_ability'?");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user