phpBB

Code Changes

File: phpbb/files/filespec.php

  Unmodified   Added   Modified   Removed
Line 121Line 121
	 */
public function set_upload_ary($upload_ary)
{

	 */
public function set_upload_ary($upload_ary)
{

		if (!isset($upload_ary) || !sizeof($upload_ary))

		if (!isset($upload_ary) || !count($upload_ary))

		{
return $this;
}

		{
return $this;
}

Line 403Line 403
	 */
public function move_file($destination, $overwrite = false, $skip_image_check = false, $chmod = false)
{

	 */
public function move_file($destination, $overwrite = false, $skip_image_check = false, $chmod = false)
{

		if (sizeof($this->error))

		if (count($this->error))

		{
return false;
}

		{
return false;
}

Line 478Line 478
			// Remove temporary filename
@unlink($this->filename);


			// Remove temporary filename
@unlink($this->filename);


			if (sizeof($this->error))

			if (count($this->error))

			{
return false;
}

			{
return false;
}