allow custom themelets to call TagEditTheme::format_source()

This commit is contained in:
Shish 2013-05-07 09:13:26 +01:00
parent 7701758959
commit 18b94a801d

View file

@ -89,7 +89,7 @@ class TagEditTheme extends Themelet {
";
}
private function format_source(/*string*/ $source) {
protected function format_source(/*string*/ $source) {
if(!empty($source)) {
if(!startsWith($source, "http://") && !startsWith($source, "https://")) {
$source = "http://" . $source;