Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Jun 15, 2020
1 parent 0644bd2 commit 7458068
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Release Notes
### 2.3.1

- Improved function naming convention. PHP functions should conform to the snake-case naming convention (e.g. `a_b__c\d`).
- Updated [F3H](https://github.com/taufik-nurrohman/f3h) script to version `1.0.11`.

### 2.3.0

Expand Down
7 changes: 5 additions & 2 deletions panel/engine/r/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

(function() {
extract($GLOBALS);
$path = strtr($url->path, ['/index.php' => ""]);
$p = $_['user']['guard']['path'] ?? $_['user']['path'];
if ($url->path === $p && empty($_GET['kick'])) {
if ($path === $p && empty($_GET['kick'])) {
$_GET['kick'] = $url . $_['/'] . '/::g::' . $_['state']['path'] . '/1';
}
})();
Expand All @@ -29,7 +30,9 @@
$content .= $comment->content;
$content .= '<p style="font-size: 80%; font-style: italic;">' . $comment->time->{r('-', '_', $state->language)} . '</p>';
$content .= '<p><a href="' . $link . '" target="_blank">' . i('Manage') . '</a></p>';
send($email, $comment->email ?? $email, $title, $content);
send($email, $email, $title, $content, [
'reply-to' => $comment->email ?? $email
]);
}
});
}
4 changes: 2 additions & 2 deletions panel/lot/asset/js/panel/fetch.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7458068

Please sign in to comment.