Vergleich admin/maintenance.php - 1.2.2 - 1.2.3

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * $Id: maintenance.php 2449 2006-11-27 22:57:17Z CraKteR $

 * $Id: maintenance.php 2564 2006-12-24 07:12:11Z dennis $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 266Zeile 266
	
while($user = $db->fetch_array($query))
{

	
while($user = $db->fetch_array($query))
{

		$query2 = $db->simple_select(TABLE_PREFIX."posts", "COUNT(pid) AS post_count", "uid='{$user['uid']}' AND visible>0");

		$query2 = $db->simple_select(TABLE_PREFIX."posts", "COUNT(pid) AS post_count", "uid='{$user['uid']}' AND visible>0{$fids}");

		$num_posts = $db->fetch_field($query2, "post_count");
$db->update_query(TABLE_PREFIX."users", array("postnum" => intval($num_posts)), "uid='{$user['uid']}'");
}

		$num_posts = $db->fetch_field($query2, "post_count");
$db->update_query(TABLE_PREFIX."users", array("postnum" => intval($num_posts)), "uid='{$user['uid']}'");
}