fix del_pconfig
This commit is contained in:
		
							
								
								
									
										2
									
								
								boot.php
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								boot.php
									
									
									
									
									
								
							| @@ -1283,7 +1283,7 @@ function del_pconfig($uid,$family,$key) { | |||||||
| 		unset($a->config[$uid][$family][$key]); | 		unset($a->config[$uid][$family][$key]); | ||||||
| 	$ret = q("DELETE FROM `pconfig` WHERE `uid` = %d AND `cat` = '%s' AND `k` = '%s' LIMIT 1", | 	$ret = q("DELETE FROM `pconfig` WHERE `uid` = %d AND `cat` = '%s' AND `k` = '%s' LIMIT 1", | ||||||
| 		intval($uid), | 		intval($uid), | ||||||
| 		dbesc($cat), | 		dbesc($family), | ||||||
| 		dbesc($key) | 		dbesc($key) | ||||||
| 	); | 	); | ||||||
| 	return $ret; | 	return $ret; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user