mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
Bug fixes e.g. csp and other
This commit is contained in:
parent
2692eae357
commit
82bcc6fb91
|
|
@ -41,6 +41,7 @@ class Basic
|
|||
public static function freaquency(array $values) : array
|
||||
{
|
||||
$freaquency = [];
|
||||
$sum = 1;
|
||||
|
||||
if (!($isArray = is_array(reset($values)))) {
|
||||
$sum = array_sum($values);
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ class Repository
|
|||
}
|
||||
|
||||
if (isset($source)) {
|
||||
return stripos($haystack, '//') ? $this->cloneRemote($source) : $this->cloneFrom($source);
|
||||
return stripos($source, '//') !== false ? $this->cloneRemote($source) : $this->cloneFrom($source);
|
||||
}
|
||||
|
||||
return $this->run('init');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user