Project

General

Profile

« Previous | Next » 

Revision 1644

Added by darkviper over 12 years ago

prevent from empty theme-name in CopyTheme::_SanitizeNewName()

View differences:

CopyTheme.php
91 91
 */
92 92
	private function _SanitizeNewName($sName)
93 93
	{
94
		$sName = (trim($sName) == '' ? 'MyNewTheme' : $sName);
94 95
		$sName = mysql_real_escape_string($sName);
95 96
		$iCount = '';
96 97
		do {

Also available in: Unified diff