Permalink
Browse files

Removed use of assert function for session objects.

  • Loading branch information...
thepurpleblob
thepurpleblob committed Jun 9, 2005
1 parent 3608b0f commit 382c50809b4daff4bd18789819b05b7bfa8e0ea0
Showing with 3 additions and 2 deletions.
  1. +3 −2 backup/restore_check.html
@@ -21,8 +21,9 @@
}
// check for session objects
- assert_var_set( $info, 'info' );
- assert_var_set( $course_header, 'course_header' );
+ if (empty($info)) or empty($course_info)) {
+ error( 'important information missing from SESSION' );
+ }
//If the restore object doesn't exist, we are going
//to check every variable individually and create it

0 comments on commit 382c508

Please sign in to comment.