PHP warning

Undefined variable $national_check

/opt/bitnami/apache/htdocs/protected/modules/main/controllers/DefaultController.php(962)

950             if($model_name::model()->exists($cri2))
951             {
952                 $mark_check=true;
953             }
954             else if($model_name::model()->exists($cri))
955             {
956                 $felix_check=true;
957             }
958         }
959         
960         
961         
962         if(!empty($info) &&  ($felix_check==true || $mark_check==true || $national_check==true))
963           {
964             
965                 if ($felix_check==true)
966                 {
967                     $list = $model_name::model()->find($cri);
968                     $desc="";
969                    
970                    
971                 }
972                 else 
973                 {
974                     $list = $model_name::model()->find($cri2);

Stack Trace

#7
+
 /opt/bitnami/apache/htdocs/index.php(51): CApplication->run()
46 
47 //    }
48 
49 //    PHPExcel_Shared_String::buildCharacterSets();
50 
51 $app->run();
2024-03-19 07:50:05 Apache Yii Framework/1.1.23