pub / stagit-scripts

Building src.jayvii.de with stagit
git clone https://src.jayvii.de/pub/stagit-scripts.git
Home | Log | Files | Exports | Refs | README | RSS

commit 1eb14673a562ded4858b178a58dfa6ac527fe180
parent 34b834deb2ed23c5e0a7675c322453500094085f
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Wed,  1 May 2024 15:49:42 +0200

variables are initilised as empty strings

Diffstat:
Mcreate_repo/index.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/create_repo/index.php b/create_repo/index.php @@ -57,7 +57,7 @@ $repo_owner = preg_replace( <?php # check whether type and name are given (description and owner may be empty) - if (is_null($repo_type) || is_null($repo_name)) { + if ($repo_type == "" || $repo_name = "") { $content = "<p id=\"status\"></p>"; } else { passthru(