1
tititou36
Question about modules\profile\include\forms.php
  • 2009/9/2 16:01

  • tititou36

  • Just popping in

  • Posts: 16

  • Since: 2009/8/15


In the control panel, when you go in module 'User Profile' --> 'Fields' and click the 'Edit' button of any field, the page displayed starts with :
string string{$variable)

This is added by line 33 of htdocs\modules\profile\include\forms.php

1) What is the purpose of this line ?
Quote:
echo "string{$variable}" . ' string{$variable} '. $varibale;


2) If it is usefull, IMO, the variable called $varibale should be $variable.

TiTou

2
trabis
Re: Question about modules\profile\include\forms.php
  • 2009/9/2 17:11

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


That line was removed from SVN. Actually, I have looked in to the logs and saw that it was my last revision that introduced that line. It is strange because I did not add that line and I don't see that line in any other commit done before. I did merge 2 revisions but none of them had that line, I have no idea how that line got there. XOOPS is haunted.

3
sailjapan
Re: Question about modules\profile\include\forms.php

spooky!

4
ghia
Re: Question about modules\profile\include\forms.php
  • 2009/9/3 0:07

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Seems a debug/testing left over.

Login

Who's Online

144 user(s) are online (92 user(s) are browsing Support Forums)


Members: 0


Guests: 144


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits