diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-11-14 15:24:16 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-11-14 15:24:16 +0000 |
commit | 40d406f757e4e1585f8323de35c90d664259e744 (patch) | |
tree | 654b78de6623990e80b8f2513de5e9436257b38c /modules | |
parent | 6bad9d56685e46264eed297310b26dfcabd26410 (diff) | |
download | brdo-40d406f757e4e1585f8323de35c90d664259e744.tar.gz brdo-40d406f757e4e1585f8323de35c90d664259e744.tar.bz2 |
Fix bogus linebreak
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.install | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index c0bd24b47..2529c8123 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2346,8 +2346,7 @@ function system_update_164() { foreach (explode(' ', $poll->polled) as $polled) { if ($polled[0] == '_') { // $polled is a user id - db_query('INSERT INTO {poll_votes} (nid, uid) VALUES (%d, %d)', $poll->nid, substr($polled, -1, -1)); + db_query('INSERT INTO {poll_votes} (nid, uid) VALUES (%d, %d)', $poll->nid, substr($polled, 1, -1)); } else { // $polled is a host |