Permalink
Browse files

fixed coding error in php url write file

  • Loading branch information...
1 parent 0858659 commit 4173a91da84cdb265281762981b20efbe14db523 @K-Felk K-Felk committed Mar 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 url_write.php
View
@@ -1,5 +1,5 @@
<?
- if () {
+ if (isset($_POST['URL'])) {
$url = trim($_POST['URL']) . "\n";
$DataFile = fopen("dodgy_urls.txt", "a");
fwrite($DataFile, $url);

0 comments on commit 4173a91

Please sign in to comment.