PHP Warning preg_replace() [function.preg-replace]:

Project:RUcore dlr/EDIT
Version:6.1
Component:Code
Category:bug report
Priority:critical
Assigned:chadmills
Status:closed
Description

Found when previewing a view user files addition

Warning: preg_replace() [function.preg-replace]: Unknown modifier 'r' in /mellon/htdocs/dlr/EDIT/addfedorauser.php on line 71

Comments

#1

Try to replace with when file permission are changed

$newfile = str_replace("</users>", "$newuserelement\n</users>", $oldfile);

#2

Status:active» test

Fixxed. Error should not be thrown when adding a new user and editing current users in the User Management section of dlr/EDIT.

#3

Status:test» closed

Confirmed.

Back to top