00440: $LinkUrl and $LinkAlt not set in urlapprove.php

Summary: $LinkUrl and $LinkAlt not set in urlapprove.php
Created: 2005-05-17 06:29
Status: Closed - fixed in 2.0.beta37
Category: Bug
From: Balu
Assigned:
Priority: 5
Version: CVS
OS:

Description: In function LinkHTTP() the $LinkUrl and $LinkAlt are not set as it is done in function LinkIMap() in pmwiki.php. After adding them as follows it seems to work:

  $FmtV['$LinkText'] = $txt;
  // BALU
  $FmtV['$LinkUrl'] = PUE(str_replace('$1',$path,$IMap[$imap]));
  $FmtV['$LinkAlt'] =
    str_replace(array('"',"'"),array('"','''),$title);

Since this was only a try and error task I am not sure if the modification is all that needs to be done and if I did it correctly.

http://pmichaud.com/pipermail/pmwiki-users/2005-May/013337.html