mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 22:37:28 -08:00
Fixed #5742 - create_function() is deprecated
This commit is contained in:
parent
339263a295
commit
35fc001c58
|
@ -35,10 +35,9 @@
|
|||
echo "<div class='phpinfodisplay'><style type='text/css'>\n",
|
||||
join( "\n",
|
||||
array_map(
|
||||
create_function(
|
||||
'$i',
|
||||
'return ".phpinfodisplay " . preg_replace( "/,/", ",.phpinfodisplay ", $i );'
|
||||
),
|
||||
function ($i) {
|
||||
return ".phpinfodisplay " . preg_replace( "/,/", ",.phpinfodisplay ", $i );
|
||||
},
|
||||
preg_split( '/\n/', $matches[1] )
|
||||
)
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue