[1.7.0] Guild Info Box has \n in it

Official announcements concerning bugs and fixes in the WoWRoster package
Posting is restricted to Forum Moderators

[1.7.0] Guild Info Box has \n in it

Postby zanix » Thu Jul 06, 2006 9:49 am

Our friends over at rpgoutfitter.com changed how CP gets this info
This is because their old method was breaking the CP.lua file

To fix this, open lib/wowdb.php
Find
Code: Select all
$this->add_value'guild_info_text'$guild['Info'] ); 

Replace with this
Code: Select all
$this->add_value'guild_info_text'str_replace('\n',"\n",$guild['Info']) ); 


Then do a guild update

You should now have a clean Guild Info page :thumright:
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

[1.7.0] Guild Info Box has \n in it

Postby AnthonyB » Thu Jul 27, 2006 7:55 am

Fix included in Roster 1.7.1 SVN.
Roster 2.0.2 svn [latest] latest trunk SVN svn [latest] running on IIS7/Windows Server 2008 SP2 | MySQL 5.0.85 | PHP 5.2.10 | Yes, Roster and PHP rocks on IIS! Even run as FastCGI extension!
User avatar
AnthonyB
Gimpy Developer
Gimpy Developer
 
Posts: 346
Joined: Tue Jul 04, 2006 2:44 pm
Location: Sydney, Australia


Return to Official Bugs & Updates

Who is online

Users browsing this forum: No registered users and 0 guests

cron