[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1548] whitespace
From: |
Clint Adams |
Subject: |
[Librefm-commits] [1548] whitespace |
Date: |
Thu, 14 May 2009 03:23:41 +0000 |
Revision: 1548
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1548
Author: clint
Date: 2009-05-14 03:23:40 +0000 (Thu, 14 May 2009)
Log Message:
-----------
whitespace
Modified Paths:
--------------
trunk/nixtape/admin.php
Modified: trunk/nixtape/admin.php
===================================================================
--- trunk/nixtape/admin.php 2009-05-14 02:27:01 UTC (rev 1547)
+++ trunk/nixtape/admin.php 2009-05-14 03:23:40 UTC (rev 1548)
@@ -30,17 +30,17 @@
function sendEmail($email) {
global $mdb2;
global $base_url;
- global $u_user;
+ global $u_user;
$username = $u_user->name;
$code = md5(md5($username) . time());
// Insert the invitation into the table
- $sql = 'INSERT INTO Invitations (inviter, code) VALUES ('
- . $mdb2->quote($username, 'text') . ', '
+ $sql = 'INSERT INTO Invitations (inviter, code) VALUES ('
+ . $mdb2->quote($username, 'text') . ', '
. $mdb2->quote($code, 'text') . ')';
-
+
$affected =& $mdb2->exec($sql);
-
+
if (PEAR::isError($affected)) {
die($affected->getMessage());
}
@@ -64,7 +64,7 @@
$action = $_GET['action'];
if (isset($action)) {
if ($action == 'invite') {
- if (!isset($_GET['email'])) {
+ if (!isset($_GET['email'])) {
$smarty->assign('error', 'Error!');
$smarty->assign('details', 'Missing email.');
$smarty->display('error.tpl');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1548] whitespace,
Clint Adams <=