<?php if ( !empty( Session::get_flash( 'error' ) ) ) { echo '<div id="error">' . Session::get_flash( 'error' ) . '</p>'; } ?>
<?php $error = Session::get_flash( 'error' ); if ( !empty( $error ) ) { echo '<div id="error">' . Session::get_flash( 'error' ) . '</p>'; } ?>
if (Session::get_flash( 'error' )) {
if (Session::get_flash( 'error' ) !== null) {
It looks like you're new here. If you want to get involved, click one of these buttons!