Open muzudho opened 8 years ago
In my case.
$sql = "INSERT INTO mail (id, email, html, template, node) VALUES ('', :email, :html, :template, :node)";
$values = array (
':email' => 'any',
':html' => $content,
':template' => $templateId,
':node' => $node
);
$sql = "INSERT INTO mail (id, email, html, template) VALUES ('', :email, :html, :template)";
$values = array (
':email' => 'any',
':html' => $content,
':template' => $templateId
);
$sql = "INSERT INTO mail (id, email, html, template, node) VALUES ('', :email, :html, :template, :node)";
$values = array (
':email' => 'any',
':html' => $content,
':template' => $template->id,
':node' => \GOTEO_NODE
);
$sql = "INSERT INTO mail (id, email, html, template) VALUES ('', :email, :html, :template)";
$values = array (
':email' => 'any',
':html' => $content,
':template' => $template->id
);
$sql = "INSERT INTO mail (id, email, html, template, node) VALUES ('', :email, :html, :template, :node)";
$values = array (
':email' => 'any',
':html' => $this->content,
':template' => $this->template,
':node' => $_SESSION['admin_node']
);
$sql = "INSERT INTO mail (id, email, html, template) VALUES ('', :email, :html, :template)";
$values = array (
':email' => 'any',
':html' => $this->content,
':template' => $this->template
);
:-)
Hi!
I found missing 'node' field on 'mail' table. (from 166 commits source code)
/library/mail.php 205
$sql = "INSERT INTO mail (id, email, html, template, node) VALUES ('', :email, :html, :template, :node)";
perhaps,
/controller/admin/mailing.php 255
$sql = "INSERT INTO mail (id, email, html, template, node) VALUES ('', :email, :html, :template, :node)";
/controller/dashboard/projects.php 317
$sql = "INSERT INTO mail (id, email, html, template, node) VALUES ('', :email, :html, :template, :node)";
Please fix this. :-)