IN-LINE REPLACE WITH action problem
Status: Beta
Brought to you by:
wgeric
When encountering such code (see below) EM won't parse
correctly
//-> Start
#
#-----[ FIND ]------------------------------------------
#
'TOTAL_REGISTERED_USERS_ONLINE' =>
sprintf($l_r_user_s, $registered_users) .
sprintf($l_h_user_s, $hidden_users),
#
#-----[ IN-LINE FIND
]------------------------------------------
#
. sprintf($l_h_user_s, $hidden_users)
#
#-----[ IN-LINE REPLACE WITH
]------------------------------------------
#
# delete the code
//-> End
Error code:
Critical Error
IN-LINE REPLACEFAILED: Invalid command body supplied in
MOD script
Logged In: YES
user_id=1265254
Originator: NO
Just encountered this problem, myself. The problem appears to occur whenever IN-LINE REPLACE WITH is empty. Testament to this is that when I had EasyMOD replace the IN-LINE FIND line with "a", it worked.
Logged In: YES
user_id=1265254
Originator: NO
Just encountered this problem, myself. The problem appears to occur whenever IN-LINE REPLACE WITH is empty. Testament to this is that when I had EasyMOD replace the IN-LINE FIND line with "a", it worked.
Logged In: YES
user_id=657440
Originator: NO
Do empty REPLACE WITHs work? Not INLINE?
Logged In: YES
user_id=1265254
Originator: NO
Empty REPLACE WITHs do indeed work. It's just INLINE ones that don't.
Logged In: YES
user_id=1265254
Originator: NO
This bug has been fixed in CVS and will appear in the next
version of EasyMOD. Thank you for reporting it.