diff options
author | Erich Eckner <git@eckner.net> | 2018-05-30 11:55:46 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-30 11:55:46 +0200 |
commit | 8abb1df6b81f38fc4717353af57e2952548c5baf (patch) | |
tree | 58c4145c8349a50e880e66ea64c6a4dc0de728ed | |
parent | 8581b39422d40cf8ad5fef54fc1940d07d32cbe9 (diff) | |
download | archweb32-8abb1df6b81f38fc4717353af57e2952548c5baf.tar.xz |
buildmaster/todos.php: fix warnings about unknown variables
-rw-r--r-- | buildmaster/todos.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildmaster/todos.php b/buildmaster/todos.php index d2c42dc..d6ad5f8 100644 --- a/buildmaster/todos.php +++ b/buildmaster/todos.php @@ -19,7 +19,7 @@ if (isset($_GET["graph"])) { $knot_rows[$row["id"]] = $row["file"]. " (line ".$row["line"]."):\\n".str_replace("\"","\\\"",$row["description"]); - unset($knots); + $knots=""; foreach ($knot_rows as $knot) $knots=$knots . "\"" . $knot . "\";\n"; @@ -42,7 +42,7 @@ if (isset($_GET["graph"])) { $count++; } - unset($edges); + $edges=""; foreach ($link_rows as $link) $edges=$edges . "\"" . $link["depending_on"] . "\" -> \"" . $link["dependent"] . "\";\n"; } |