schema typo
This commit is contained in:
parent
fd1abe1c54
commit
502d59089b
|
@ -87,7 +87,7 @@ CREATE TABLE IF NOT EXISTS `contact` (
|
||||||
`pending` tinyint(1) NOT NULL DEFAULT '1',
|
`pending` tinyint(1) NOT NULL DEFAULT '1',
|
||||||
`rating` tinyint(1) NOT NULL DEFAULT '0',
|
`rating` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
`reason` text NOT NULL,
|
`reason` text NOT NULL,
|
||||||
`info` MEDIUMTEXT NOT NULL AFTER `reason`,
|
`info` mediumtext NOT NULL,
|
||||||
`profile-id` int(11) NOT NULL DEFAULT '0',
|
`profile-id` int(11) NOT NULL DEFAULT '0',
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
KEY `uid` (`uid`),
|
KEY `uid` (`uid`),
|
||||||
|
|
|
@ -452,6 +452,12 @@ function dfrn_request_content(&$a) {
|
||||||
|
|
||||||
if(! local_user()) {
|
if(! local_user()) {
|
||||||
notice( t("Please login to confirm introduction.") . EOL );
|
notice( t("Please login to confirm introduction.") . EOL );
|
||||||
|
|
||||||
|
/* setup the return URL to come back to this page if they use openid */
|
||||||
|
|
||||||
|
$stripped = str_replace('q=','',$a->query_string);
|
||||||
|
$_SESSION['return_url'] = trim($stripped,'/');
|
||||||
|
|
||||||
return login();
|
return login();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue