Fixed 2 bad link() calls

This commit is contained in:
jengo 2001-04-14 20:21:41 +00:00
parent fb10b7610e
commit 38715027d6
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@
$fields = addressbook_read_last_entry($qfields);
$newid = $fields[0]['id'];
Header("Location: "
. $phpgw->link('/addressbook/edit.php',"&ab_id=$newid&order=$order&sort=$sort&filter=$filter&start=$start&query=$query&cat_id=$cat_id"));
. $phpgw->link('/addressbook/edit.php',"ab_id=$newid&order=$order&sort=$sort&filter=$filter&start=$start&query=$query&cat_id=$cat_id"));
} else {
if (! $bday_month && ! $bday_day && ! $bday_year) {
$bday = "";

View File

@ -429,7 +429,7 @@
}
if ($action) {
echo "<FORM action=\"".$phpgw->link('/addressbook/' . $action.'?referer='.urlencode($referer))."\" method=\"post\">\n";
echo '<FORM action="' . $phpgw->link('/addressbook/' . $action, 'referer='.urlencode($referer)).'" method="post">';
}
if (! ereg("^http://",$url)) {