Project

General

Profile

« Previous | Next » 

Revision 843

Added by doc over 16 years ago

modified output filter routine to prevent errors if database entries do not exist

View differences:

trunk/CHANGELOG
10 10
# = Bugfix
11 11
! = Update/Change
12 12

  
13
------------------------------------- 2.7.1 -------------------------------------
14
04-May-2008 Thomas Hornik
15
! changed register_backend_modfile() to work with wysiwyg-module, too
16
01-May-2008 Thomas Hornik
17
#	fixed file-naming issue when old page-names (from before 2.7) contains "&"
18
26-Apr-2008 Thomas Hornik
13
------------------------------------- 2.7.1 -------------------------------------
14
24-May-2008 Christian Sommer
15
! modified output filter routine to prevent errors if database entries do not exist
16
04-May-2008 Thomas Hornik
17
! changed register_backend_modfile() to work with wysiwyg-module, too
18
01-May-2008 Thomas Hornik
19
#	fixed file-naming issue when old page-names (from before 2.7) contains "&"
20
26-Apr-2008 Thomas Hornik
19 21
#	class.admin.php deletes actual query-string while redirection. fixed.
20 22
25-Apr-2008 Matthias Gallas
21 23
#	fixed validiation bug in option fields of form modul
trunk/wb/modules/output_filter/filter-routines.php
32 32
		global $database, $admin;
33 33
		// connect to database and read out filter settings
34 34
		$result = $database->query("SELECT * FROM " .TABLE_PREFIX ."mod_output_filter");
35
		if($result->numRows() > 0) {
35
		if($result && $result->numRows() > 0) {
36 36
			// get all data
37 37
			$data = $result->fetchRow();
38 38
			$filter_settings['email_filter'] = $admin->strip_slashes($data['email_filter']);

Also available in: Unified diff