Help me fix decoding error :) Thanks!
|
08-13-2012, 03:29 PM
(This post was last modified: 08-13-2012 03:32 PM by trytofly.)
Post: #1
|
|||
|
|||
Help me fix decoding error :) Thanks!
Hi guys, need help fixing error :
Fatal error: Cannot break/continue 1 level in /home/sks/public_html/skps/classes/payment.php on line 238 $this->setInfo( $lng['payments']['transaction_already_processed'] ); } else if ( !$this->getManual( ) ) { line 238: break; } else { FULL FUNCTION: Code: public function process( ) |
|||
08-15-2012, 12:34 PM
Post: #2
|
|||
|
|||
RE: Help me fix decoding error :) Thanks!
Because you are using break without "switch...case" or looping. You can solve this by changing "break" to "return" to exit from the function.
Enjoy!!! .. all the best... |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)