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

(-)phpwiki-1.3.10/lib/XMLRPC/xmlrpc.inc.old (-3 / +3 lines)
Lines 197-203 Link Here
197
				$_xh[$parser]['qt']=0;
197
				$_xh[$parser]['qt']=0;
198
				break;
198
				break;
199
			case 'NAME':
199
			case 'NAME':
200
				$_xh[$parser]['st'].="'"; $_xh[$parser]['ac']='';
200
				$_xh[$parser]['st'].='"'; $_xh[$parser]['ac']='';
201
				break;
201
				break;
202
			case 'FAULT':
202
			case 'FAULT':
203
				$_xh[$parser]['isf']=1;
203
				$_xh[$parser]['isf']=1;
Lines 274-280 Link Here
274
				$_xh[$parser]['cm']--;
274
				$_xh[$parser]['cm']--;
275
				break;
275
				break;
276
			case 'NAME':
276
			case 'NAME':
277
				$_xh[$parser]['st'].= $_xh[$parser]['ac'] . "' => ";
277
				$_xh[$parser]['st'].= $_xh[$parser]['ac'] . '" => ';
278
				break;
278
				break;
279
			case 'BOOLEAN':
279
			case 'BOOLEAN':
280
				// special case here: we translate boolean 1 or 0 into PHP
280
				// special case here: we translate boolean 1 or 0 into PHP
Lines 302-308 Link Here
302
				}
302
				}
303
				elseif ($_xh[$parser]['qt']==2)
303
				elseif ($_xh[$parser]['qt']==2)
304
				{
304
				{
305
					$_xh[$parser]['st'].="base64_decode('". $_xh[$parser]['ac'] . "')"; 
305
					$_xh[$parser]['st'].='base64_decode("'. $_xh[$parser]['ac'] . '")'; 
306
				}
306
				}
307
				elseif ($name=='BOOLEAN')
307
				elseif ($name=='BOOLEAN')
308
				{
308
				{

Return to bug 97458