[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1043] might want to actually put the width data somew
From: |
Clint Adams |
Subject: |
[Librefm-commits] [1043] might want to actually put the width data somewhere that doesn' t get thrown away |
Date: |
Thu, 30 Apr 2009 04:26:18 +0000 |
Revision: 1043
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1043
Author: clint
Date: 2009-04-30 04:26:18 +0000 (Thu, 30 Apr 2009)
Log Message:
-----------
might want to actually put the width data somewhere that doesn't get thrown away
Modified Paths:
--------------
trunk/nixtape/data/User.php
Modified: trunk/nixtape/data/User.php
===================================================================
--- trunk/nixtape/data/User.php 2009-04-30 04:20:30 UTC (rev 1042)
+++ trunk/nixtape/data/User.php 2009-04-30 04:26:18 UTC (rev 1043)
@@ -207,7 +207,7 @@
}
if ($maxcount > 0) {
- foreach($data as $i) {
+ foreach($result as &$row) {
$row["width"]=(int)(100 * ($row["c"]/$maxcount));
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1043] might want to actually put the width data somewhere that doesn' t get thrown away,
Clint Adams <=