trim result
parent
6c1a20968c
commit
1ea5df563f
BIN
fromapp.tgz
BIN
fromapp.tgz
Binary file not shown.
|
@ -78,7 +78,8 @@ function fromapp_post_hook(&$a,&$item) {
|
||||||
if(($app === false) || (! strlen($app)))
|
if(($app === false) || (! strlen($app)))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
$item['app'] = $app;
|
$apps = explode(',',$app);
|
||||||
|
$item['app'] = trim($apps[mt_rand(0,count($apps)-1)]);
|
||||||
return;
|
return;
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue