# HG changeset patch # User Dan # Date 1216136292 14400 # Node ID 059a5a8566fce7e6b7bce85497b7d0ad0e381fa8 # Parent 219a0133622eb639322d8069fe7eefd0989d5273 Fixed WHERE user_id = ... not specified in user CP blog settings save diff -r 219a0133622e -r 059a5a8566fc plugins/nuggie/usercp.php --- a/plugins/nuggie/usercp.php Mon Jul 07 04:02:18 2008 -0400 +++ b/plugins/nuggie/usercp.php Tue Jul 15 11:38:12 2008 -0400 @@ -132,7 +132,7 @@ if ( $initted ) { - $sql = 'UPDATE ' . table_prefix . "blogs SET blog_name = '$blog_name', blog_subtitle = '$blog_desc', blog_type = '$blog_access', allowed_users = $allowed_users;"; + $sql = 'UPDATE ' . table_prefix . "blogs SET blog_name = '$blog_name', blog_subtitle = '$blog_desc', blog_type = '$blog_access', allowed_users = $allowed_users WHERE user_id = {$session->user_id};"; } else {