- Address https://github.com/friendica/friendica/issues/13157#issuecomment-
1567336694
$this->setConfigDir($work_dir . '/');
$this->setCacheDir($work_dir . '/');
+ $this->registerPlugin('modifier', 'is_string', function ($value) {
+ return is_string($value);
+ });
+
/*
* Enable sub-directory splitting for reducing directory descriptor
* size. The default behavior is to put all compiled/cached files into
{{$html nofilter}}
{{if $submit}}
<div class="settings-submit-wrapper panel-footer">
- {{if $submit}}
+ {{if $submit|is_string}}
<button type="submit" name="{{$addon}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
{{else}}
{{$count = 1}}
</div>
<div class="panel-footer">
{{if $submit}}
- {{if $submit}}
+ {{if $submit|is_string}}
<button type="submit" name="{{$addon}}-submit" class="btn btn-primary settings-submit" value="{{$submit}}">{{$submit}}</button>
{{else}}
{{$count = 1}}