mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Minor fixes (#667)
This commit is contained in:
parent
f62d25d33b
commit
0fd4b733fc
4 changed files with 4 additions and 4 deletions
|
@ -40,7 +40,7 @@
|
||||||
"guzzlehttp/psr7": "^2.4",
|
"guzzlehttp/psr7": "^2.4",
|
||||||
"monolog/monolog": "^2.9",
|
"monolog/monolog": "^2.9",
|
||||||
"rych/bencode": "v1.0.0",
|
"rych/bencode": "v1.0.0",
|
||||||
"s1lentium/iptools": "1.*",
|
"s1lentium/iptools": "v1.1.1",
|
||||||
"samdark/sitemap": "2.4.0",
|
"samdark/sitemap": "2.4.0",
|
||||||
"symfony/mailer": "^5.4",
|
"symfony/mailer": "^5.4",
|
||||||
"symfony/polyfill": "v1.27.0",
|
"symfony/polyfill": "v1.27.0",
|
||||||
|
|
2
composer.lock
generated
2
composer.lock
generated
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "476e68bd0e844794d1f21d771e06ebad",
|
"content-hash": "8661b3ef2a2e691d686c71bf3d2ea69b",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "bugsnag/bugsnag",
|
"name": "bugsnag/bugsnag",
|
||||||
|
|
|
@ -41,7 +41,7 @@ if (isset($this->request['post_id'])) {
|
||||||
AND f.forum_id = t.forum_id
|
AND f.forum_id = t.forum_id
|
||||||
LIMIT 1");
|
LIMIT 1");
|
||||||
if (!$post) {
|
if (!$post) {
|
||||||
$this->ajax_die('not post');
|
$this->ajax_die($lang['INVALID_TOPIC_ID_DB']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$is_auth = auth(AUTH_ALL, $post['forum_id'], $userdata, $post);
|
$is_auth = auth(AUTH_ALL, $post['forum_id'], $userdata, $post);
|
||||||
|
|
|
@ -1196,7 +1196,7 @@ function birthday_age($date)
|
||||||
{
|
{
|
||||||
global $bb_cfg;
|
global $bb_cfg;
|
||||||
if (!$date) {
|
if (!$date) {
|
||||||
return;
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
$tz = TIMENOW + (3600 * $bb_cfg['board_timezone']);
|
$tz = TIMENOW + (3600 * $bb_cfg['board_timezone']);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue