The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
edit bio
#1
Hi,

Sorry, still using Version 4.1.3. After adding and deleting several users, I noticed that editing the bio in edit_profile.php had no effect, i.e. nothing has been written to the data base.
Thus, I found that in the data base in the profiles tab, the id and the user_id can differ.
So I think that in edit_profile.php the data base update has to use the id and not the user_id.
A change of
Code:
$db->update('profiles',$userID,$fields);
to
Code:
$db->update('profiles',$thisProfile->id,$fields);
worked for me.

Cheers,
Sebastian

  Reply


Messages In This Thread
edit bio - by Sebastian - 09-28-2016, 11:52 AM
edit bio - by mudmin - 09-28-2016, 12:01 PM
edit bio - by Sebastian - 09-28-2016, 12:47 PM
edit bio - by mudmin - 09-28-2016, 12:52 PM
edit bio - by Sebastian - 09-28-2016, 01:22 PM
edit bio - by mudmin - 10-16-2016, 11:48 AM
edit bio - by Sebastian - 10-18-2016, 06:18 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)