[Phonehome-commits] r47 - branches/server-pamadio

pamadio at garage.maemo.org pamadio at garage.maemo.org
Sat Oct 18 16:57:59 EEST 2008


Author: pamadio
Date: 2008-10-18 16:57:59 +0300 (Sat, 18 Oct 2008)
New Revision: 47

Modified:
   branches/server-pamadio/ets.php
Log:
typo

Modified: branches/server-pamadio/ets.php
===================================================================
--- branches/server-pamadio/ets.php	2008-10-18 13:55:33 UTC (rev 46)
+++ branches/server-pamadio/ets.php	2008-10-18 13:57:59 UTC (rev 47)
@@ -15,7 +15,7 @@
 	$safe_mac = mysql_real_escape_string($mac);
 	$safe_pw = mysql_real_escape_string($pw);
 	//$res = mysql_query("select user_id from users where uname='{$safe_uname}' and pw='{$safe_pw}'");
-	$res=mysql_query("select d.user_id from devices as d, users as u where d.mac='{$safe_mac}' and u.pw='{safe_pw}' and u.user_id=d.user_id");
+	$res=mysql_query("select d.user_id from devices as d, users as u where d.mac='{$safe_mac}' and u.pw='{$safe_pw}' and u.user_id=d.user_id");
 	$row = mysql_fetch_assoc($res);
 	if (!$row)
 		return 0;



More information about the Phonehome-commits mailing list