Bug in realname_make_name() update query.
cdale - October 20, 2009 - 21:43
| Project: | RealName |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
The query currently looks like:
<?php
db_query("UPDATE {realname} SET realname='s' where uid=%d", $result,$account->uid);
?>I think it's supposed to look like (Not the '%' now in realname=):
<?php
db_query("UPDATE {realname} SET realname='%s' where uid=%d", $result,$account->uid);
?>Trivial change. Don't have time to make a patch right now, will try and make one later.
