All you did was remove the error message and let the script continue working...
The trigger_error () function obviously displays the error message passed to it and I'd guess terminates the script, you could confirm what it does by searching for it and looking at/posting the definition (code associated with the function)... it may not be in this file, it may be in a file called in an include statement, probably at the top of this file, such as global.php.
But if things seem to work on your test forum even though I'm sure it is not recommended I'd probably be fine with just keeping the line commented out for now.
|