allow custom themelets to call TagEditTheme::format_source()
This commit is contained in:
parent
7701758959
commit
18b94a801d
@ -89,7 +89,7 @@ class TagEditTheme extends Themelet {
|
|||||||
";
|
";
|
||||||
}
|
}
|
||||||
|
|
||||||
private function format_source(/*string*/ $source) {
|
protected function format_source(/*string*/ $source) {
|
||||||
if(!empty($source)) {
|
if(!empty($source)) {
|
||||||
if(!startsWith($source, "http://") && !startsWith($source, "https://")) {
|
if(!startsWith($source, "http://") && !startsWith($source, "https://")) {
|
||||||
$source = "http://" . $source;
|
$source = "http://" . $source;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user