Преглед на файлове

[svn r15651] Authorize empty theme to reset theme to course default in learning path edition page

Yannick Warnier преди 16 години
родител
ревизия
109b555ceb
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      main/newscorm/learnpath.class.php

+ 0 - 2
main/newscorm/learnpath.class.php

@@ -3495,8 +3495,6 @@ class learnpath {
      */
     function set_theme($name=''){
 		if($this->debug>0){error_log('New LP - In learnpath::set_theme()',0);}
-    	if(empty($name))return false;
-    	
     	$this->theme = $this->escape_string($name);
 		$lp_table = Database::get_course_table('lp');
 		$lp_id = $this->get_id();