의 미러
https://github.com/friendica/friendica
synced 2025-09-07 21:21:52 +02:00
Remove the "call by reference"
This commit is contained in:
부모
444de52859
커밋
585c2119d7
1개의 변경된 파일과 2개의 추가작업 그리고 1개의 파일을 삭제
|
@ -194,6 +194,7 @@ function poco_load_worker($cid, $uid, $zcid, $url) {
|
|||
* @brief Sanitize the given gcontact data
|
||||
*
|
||||
* @param array $gcontact array with gcontact data
|
||||
* @throw Exception
|
||||
*
|
||||
* Generation:
|
||||
* 0: No definition
|
||||
|
@ -203,7 +204,7 @@ function poco_load_worker($cid, $uid, $zcid, $url) {
|
|||
* 4: ...
|
||||
*
|
||||
*/
|
||||
function sanitize_gcontact(&$gcontact) {
|
||||
function sanitize_gcontact($gcontact) {
|
||||
|
||||
if ($gcontact['url'] == "") {
|
||||
throw new Exception('URL is empty');
|
||||
|
|
불러오는 중…
테이블 추가
Add a link
Reference in a new issue