Skip to content

Commit 9ecdee2

Browse files
committed
Fixing arguments to set settings value.
The function needs exactly two arguments, but only one provided. This commit adds the 'value' as second arguments. Signed-off-by: Adli I. Ifkar <[email protected]>
1 parent bc79882 commit 9ecdee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/Library/CrudPanel/Traits/Settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function setting(string $key, $value = null)
7474
return $this->get($key);
7575
}
7676

77-
return $this->set($key);
77+
return $this->set($key, $value);
7878
}
7979

8080
/**

0 commit comments

Comments
 (0)