TODO updated, my website is now approved
[mailer.git] / img.php
diff --git a/img.php b/img.php
index 6986a5e..baf24ea 100644 (file)
--- a/img.php
+++ b/img.php
@@ -50,13 +50,13 @@ require('inc/config-global.php');
 loadIncludeOnce('inc/header.php');
 
 // Code set?
 loadIncludeOnce('inc/header.php');
 
 // Code set?
-if (isGetRequestElementSet('code')) {
+if (isGetRequestParameterSet('code')) {
        // Generate image
        // Generate image
-       generateImageOrCode(bigintval(getRequestElement('code')));
-} elseif (isGetRequestElementSet('img')) {
+       generateImageOrCode(bigintval(getRequestParameter('code')));
+} elseif (isGetRequestParameterSet('img')) {
        // 'img' set so create the IFN (Include-FileName)
        $inc = sprintf("inc/img/tag-%s.php",
        // 'img' set so create the IFN (Include-FileName)
        $inc = sprintf("inc/img/tag-%s.php",
-               getRequestElement('img')
+               getRequestParameter('img')
        );
 
        // Include is readable?
        );
 
        // Include is readable?