]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/mail/init.php
php: remove trailing whitespaces
[tt-rss.git] / plugins / mail / init.php
index 045fd7986f257bdea355c715a5bb046d216d2a68..6525dc940584a859d08bd4c6e1d372a99c8981e3 100644 (file)
@@ -86,7 +86,7 @@ class Mail extends Plugin {
                print_hidden("method", "sendEmail");
 
                $sth = $this->pdo->prepare("SELECT email, full_name FROM ttrss_users WHERE
-                       id = " . $_SESSION["uid"]);
+                       id = ?");
                $sth->execute([$_SESSION['uid']]);
 
                if ($row = $sth->fetch()) {
@@ -168,7 +168,7 @@ class Mail extends Plugin {
 
                print "</td></tr>";
 
-               print "<tr><td colspan='2'><textarea dojoType=\"dijit.form.SimpleTextarea\" 
+               print "<tr><td colspan='2'><textarea dojoType=\"dijit.form.SimpleTextarea\"
                        style='height : 200px; font-size : 12px; width : 98%' rows=\"20\"
                        name='content'>$content</textarea>";