mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
parent
6eed2e8a76
commit
6abd9babc9
53 changed files with 197 additions and 197 deletions
|
@ -263,7 +263,7 @@ print_page('index.tpl', 'admin');
|
|||
// Functions
|
||||
function inarray($needle, $haystack)
|
||||
{
|
||||
for ($i = 0; $i < sizeof($haystack); $i++) {
|
||||
for ($i = 0; $i < count($haystack); $i++) {
|
||||
if ($haystack[$i] == $needle) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue