News:

Looking for documentation? Take a look on our wiki

Main Menu

short php tags problem

Started by doorknob, March 28, 2009, 19:52:08 PM

Previous topic - Next topic

doorknob

administrator\components\com_virtuemart\classes\payment\ps_cashondel.php contains a couple of '<?=' short php tags (lines 42 & 42). These tags are only accepted if specifically permitted in the php.ini file and so will cause errors at some sites. These should be replaced with '<?php echo' to make them reliable.

Regards
Phil

doorknob

I just did a search for '<? ' and found loads of examples in the vm code. No other component had even a single example! This could the cause of any number of reported problems that you were unable to replicate. You guys should configure your php.ini files with 'short_open_tags=off' to expose these problems in testing.

Regards
Phil