Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
Choose a Base Repository
Choose a base branch
Nothing to show
...
Choose a Head Repository
Choose a head branch
Nothing to show
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 4 additions and 2 deletions.
  1. +2 −0 .gitignore
  2. +2 −2 admin/application/helpers/form_blog_post_edit.php
View
@@ -3,5 +3,7 @@ application/config/beta-config.php
application/config/prod-config.php
*~
*.swp
+*.#
+*#
uuid*
@@ -26,11 +26,11 @@ function send_email($database) {
$emails_raw = DB::single("SELECT `emails` FROM `{$database}`.`email_lists` WHERE `desc` = 'posting_emails' LIMIT 1");
$emails = explode(',', $emails_raw['emails']);
foreach ($emails as $email) {
- mail($email, "A new blog post: " . $title, "{$content}", $headers);
+ mail($email, "A new blog post: " . $title, html_entities_decode($content), $headers);
}
}
-if (empty($id)) {
+$headers (empty($id)) {
$time = DB::clean(@time());
$title = DB::clean($_POST['title']);

No commit comments for this range