Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 97651
Collapse All | Expand All

(-)egroupware/phpgwapi/inc/xml_functions.inc.php.old (-3 / +3 lines)
Lines 189-195 Link Here
189
				$GLOBALS['_xh'][$parser]['qt']=0;
189
				$GLOBALS['_xh'][$parser]['qt']=0;
190
				break;
190
				break;
191
			case 'NAME':
191
			case 'NAME':
192
				$GLOBALS['_xh'][$parser]['st'] .= '"';
192
				$GLOBALS['_xh'][$parser]['st'] .= "'";
193
				$GLOBALS['_xh'][$parser]['ac'] = '';
193
				$GLOBALS['_xh'][$parser]['ac'] = '';
194
				break;
194
				break;
195
			case 'FAULT':
195
			case 'FAULT':
Lines 265-271 Link Here
265
				$GLOBALS['_xh'][$parser]['cm']--;
265
				$GLOBALS['_xh'][$parser]['cm']--;
266
				break;
266
				break;
267
			case 'NAME':
267
			case 'NAME':
268
				$GLOBALS['_xh'][$parser]['st'].= $GLOBALS['_xh'][$parser]['ac'] . '" => ';
268
				$GLOBALS['_xh'][$parser]['st'].= $GLOBALS['_xh'][$parser]['ac'] . "' => ";
269
				break;
269
				break;
270
			case 'BOOLEAN':
270
			case 'BOOLEAN':
271
				// special case here: we translate boolean 1 or 0 into PHP
271
				// special case here: we translate boolean 1 or 0 into PHP
Lines 293-299 Link Here
293
				}
293
				}
294
				elseif ($GLOBALS['_xh'][$parser]['qt']==2)
294
				elseif ($GLOBALS['_xh'][$parser]['qt']==2)
295
				{
295
				{
296
					$GLOBALS['_xh'][$parser]['st'].='base64_decode("'. $GLOBALS['_xh'][$parser]['ac'] . '")';
296
					$GLOBALS['_xh'][$parser]['st'].="base64_decode('". $GLOBALS['_xh'][$parser]['ac'] . "')"; 
297
				}
297
				}
298
				elseif ($name=='BOOLEAN')
298
				elseif ($name=='BOOLEAN')
299
				{
299
				{

Return to bug 97651