A lot calls saved, expression language rewritten:
[mailer.git] / inc / modules / member / what-reflinks.php
index 04ecf577420afae10125f2b5449f36a2ac1a1f99..2e838689b888c67c13c7dfdb0d34688bea03fa2c 100644 (file)
@@ -73,7 +73,7 @@ if (SQL_NUMROWS($result) > 0) {
        // List available ref banners
        $OUT = '';
        while ($row = SQL_FETCHARRAY($result)) {
-               $test = str_replace(getConfig('URL'), getConfig('PATH'), $row['url']); $size = '0';
+               $test = str_replace(getUrl(), getPath(), $row['url']); $size = '0';
                if ($test == $row['url']) {
                        // Download banner (I hope you keep the banner on same server???)
                        $fp = sendGetRequest($row['url']); $bannerContent = '';