bugganesha - Bugs: bug #9129, Problème de la gestion des quotes...

 
 

bug #9129: Problème de la gestion des quotes dans BNO

Submitted by:  Aymeric DURAND <adurand69>
Submitted on:  Thu 27 May 2004 01:42:54 PM UTC  
 
Category: Autres fonctionnalitésSeverity: 2 - Minor
Item Group: NoneRelease: 
Status: Works For MePrivacy: Public
Assigned to: Pierre Gosset <pyg>Percent Complete: 0%
Originator Name: AymericOpen/Closed: Closed
URL: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 07 Jul 2004 08:43:51 AM UTC, comment #1:

Corrigé dans la 2.1RC1

Pierre Gosset <pyg>
Project AdministratorIn charge of this item.
Thu 27 May 2004 01:42:54 PM UTC, original submission:

Dans BNO, si l'on définit des messages avec des quotes, il y a des \ qui apparaissent lors de la consultation par les stagiaires ou par le tuteurs.

Solution proposée dans le fichier bno.class.php :

function Lire($id_membre, $id_groupe, $type_outil) {

global $TBL, $db;

$sSQL = "SELECT contenu,date_maj FROM ".$TBL['bno']." " ;

$sSQL.= "WHERE id_membre='".$id_membre."' AND id_groupe='".$id_groupe."' " ;

$sSQL.= "AND type_outil='".$type_outil."'" ;

$db->query($sSQL);

$ret['id_membre'] = $id_membre ;

$ret['id_groupe'] = $id_groupe ;

$ret['type_outil'] = $type_outil ;

if ( $db->next_record() ) {

$ret['contenu'] = Unreplace(stripslashes($db->f("contenu"))) ;

$ret['date_maj'] = $db->f("date_maj") ;

$db->free() ;

}

return($ret);

}

Aymeric DURAND <adurand69>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 07 Jul 2004 08:43:51 AM UTCpygStatusNone=>Works For Me
  Assigned togeorges=>pyg
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1