Mercurial > hg > ywww
comparison php/read/updateLink.php @ 29:f024f2f08994
a few more undef var fixes
| author | Robert Boland <robert@markup.co.uk> |
|---|---|
| date | Fri, 04 Jan 2019 08:49:25 -0500 |
| parents | 84a412b8122c |
| children | a67bf725e87b |
comparison
equal
deleted
inserted
replaced
| 28:b058736bc9ad | 29:f024f2f08994 |
|---|---|
| 5 $change = strval($_GET['change']); | 5 $change = strval($_GET['change']); |
| 6 echo $change; | 6 echo $change; |
| 7 $dir = strval($_GET['dir']); | 7 $dir = strval($_GET['dir']); |
| 8 echo $dir; | 8 echo $dir; |
| 9 $userID=""; | 9 $userID=""; |
| 10 $userID = strval($_GET['userID']); | 10 if (isset($_GET['userID'])) { |
| 11 $userID = strval($_GET['userID']); | |
| 12 } | |
| 11 echo $userID; | 13 echo $userID; |
| 12 | 14 |
| 13 include "../../../private/db.php"; | 15 include "../../../private/db.php"; |
| 14 | 16 |
| 15 $pos = 0; | 17 $pos = 0; |
