mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
re-added exidently removed swap method
This commit is contained in:
parent
6ae229d703
commit
dee6d75828
@ -1414,4 +1414,17 @@
|
||||
|
||||
return implode(', ',$labels);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* swap the values of $a and $b
|
||||
*
|
||||
* @param mixed &$a
|
||||
* @param mixed &$b
|
||||
*/
|
||||
function swap(&$a,&$b)
|
||||
{
|
||||
$h = $a;
|
||||
$a = $b;
|
||||
$b = $h;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user