We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7407d7 + 553ab88 commit cfc979aCopy full SHA for cfc979a
app/Models/Asset.php
@@ -1031,9 +1031,9 @@ public function getEula()
1031
{
1032
1033
if (($this->model) && ($this->model->category)) {
1034
- if (($this->model->category->eula_text) && ($this->model->category->use_default_eula === 0)) {
+ if (($this->model->category->eula_text) && ($this->model->category->use_default_eula == 0)) {
1035
return Helper::parseEscapedMarkedown($this->model->category->eula_text);
1036
- } elseif ($this->model->category->use_default_eula === 1) {
+ } elseif ($this->model->category->use_default_eula == 1) {
1037
return Helper::parseEscapedMarkedown(Setting::getSettings()->default_eula_text);
1038
} else {
1039
0 commit comments