The logo of IKEA is pictured outside Europe's biggest Ikea store in Kungens Kurva, south-west of Stockholm on March 30, 2016. 
Ikea founder Ingvar Kamprad, who built a global business empire with revolutionary flat-pack furniture and dallied with Nazism in his youth, turned 90 today. / AFP / JONATHAN NACKSTRAND        (Photo credit should read JONATHAN NACKSTRAND/AFP/Getty Images)
PHOTO: JONATHAN NACKSTRAND/AFP/AFP/Getty Images
The logo of IKEA is pictured outside Europe's biggest Ikea store in Kungens Kurva, south-west of Stockholm on March 30, 2016. Ikea founder Ingvar Kamprad, who built a global business empire with revolutionary flat-pack furniture and dallied with Nazism in his youth, turned 90 today. / AFP / JONATHAN NACKSTRAND (Photo credit should read JONATHAN NACKSTRAND/AFP/Getty Images)
Now playing
00:56
A child fired a loaded gun he found in IKEA
TINLEY PARK, IL - OCTOBER 18:  Pistols are offered for sale at Freddie Bear Sports on October 18, 2012 in Tinley Park, Illinois.  Facing a $267.5 million fiscal 2013 budget gap, Cook County, which includes the City of Chicago and suburbs, has proposed a tax of 5 cents per bullet and $25 on each firearm sold at gun and sporting goods stores in the county. Fred Lutger, who has owned Freddie Bear Sports for 35 years, is concerned with the impact the tax will have on his store which is located about 2 miles inside the Cook County line.  (Photo by Scott Olson/Getty Images)
PHOTO: Scott Olson/Getty Images North America/Getty Images
TINLEY PARK, IL - OCTOBER 18: Pistols are offered for sale at Freddie Bear Sports on October 18, 2012 in Tinley Park, Illinois. Facing a $267.5 million fiscal 2013 budget gap, Cook County, which includes the City of Chicago and suburbs, has proposed a tax of 5 cents per bullet and $25 on each firearm sold at gun and sporting goods stores in the county. Fred Lutger, who has owned Freddie Bear Sports for 35 years, is concerned with the impact the tax will have on his store which is located about 2 miles inside the Cook County line. (Photo by Scott Olson/Getty Images)
Now playing
00:47
By the numbers: Gun deaths in America
Glendale, UNITED STATES: A man chooses a gun at the Gun Gallery in Glendale, California, 18 April 2007. The massacre at Virginia Tech has ignited fresh talk in the Democratic-led US Congress about tightening US gun laws but it is doubtful enough lawmakers will tackle the politically charged issue. With so many citizens in love with their guns and defensive of their right under the Constitution to keep and bear arms, politicians are reluctant to take on gun owners or the powerful gun lobby.    AFP PHOTO/GABRIEL BOUYS (Photo credit should read GABRIEL BOUYS/AFP/Getty Images)
PHOTO: GABRIEL BOUYS/AFP/AFP/Getty Images
Glendale, UNITED STATES: A man chooses a gun at the Gun Gallery in Glendale, California, 18 April 2007. The massacre at Virginia Tech has ignited fresh talk in the Democratic-led US Congress about tightening US gun laws but it is doubtful enough lawmakers will tackle the politically charged issue. With so many citizens in love with their guns and defensive of their right under the Constitution to keep and bear arms, politicians are reluctant to take on gun owners or the powerful gun lobby. AFP PHOTO/GABRIEL BOUYS (Photo credit should read GABRIEL BOUYS/AFP/Getty Images)
Now playing
02:00
What stops the mentally ill from buying guns?
A row of rifles is seen on display at a National Rifle Association outdoor sports trade show on February 10, 2017 in Harrisburg, Pennsylvania.
The Great American Outdoor Show, a nine day event celebrating hunting, fishing and outdoor traditions, features over 1,000 exhibitors ranging from shooting manufacturers to outfitters to fishing boats and RVs, and archery to art.   / AFP / DOMINICK REUTER        (Photo credit should read DOMINICK REUTER/AFP/Getty Images)
PHOTO: DOMINICK REUTER/AFP/AFP/Getty Images
A row of rifles is seen on display at a National Rifle Association outdoor sports trade show on February 10, 2017 in Harrisburg, Pennsylvania. The Great American Outdoor Show, a nine day event celebrating hunting, fishing and outdoor traditions, features over 1,000 exhibitors ranging from shooting manufacturers to outfitters to fishing boats and RVs, and archery to art. / AFP / DOMINICK REUTER (Photo credit should read DOMINICK REUTER/AFP/Getty Images)
Now playing
01:45
The NRA used to support gun control. Here's why
PHOTO: McKenna Ewen
Now playing
02:15
The messages kids want you to see
Now playing
02:07
They hope you remember what they'll never forget
Carpenter Greg Zanis (C) who drove from Chicago unloads his crosses outside the First Baptist Church which was the scene of the mass shooting that killed 26 people in Sutherland Springs, Texas on November 8, 2017.
A gunman wearing all black armed with an assault rifle opened fire on a small-town Texas church during Sunday morning services, on November 5, killing 26 people and wounding 20 more in the last mass shooting to shock the United States. / AFP PHOTO / MARK RALSTON        (Photo credit should read MARK RALSTON/AFP/Getty Images)
PHOTO: MARK RALSTON/AFP/AFP/Getty Images
Carpenter Greg Zanis (C) who drove from Chicago unloads his crosses outside the First Baptist Church which was the scene of the mass shooting that killed 26 people in Sutherland Springs, Texas on November 8, 2017. A gunman wearing all black armed with an assault rifle opened fire on a small-town Texas church during Sunday morning services, on November 5, killing 26 people and wounding 20 more in the last mass shooting to shock the United States. / AFP PHOTO / MARK RALSTON (Photo credit should read MARK RALSTON/AFP/Getty Images)
Now playing
00:55
Man builds crosses for shooting victims (2017)
President Donald Trump applauds the audience after speaking at the National Rifle Association annual convention in Dallas, Friday, May 4, 2018. (AP Photo/Sue Ogrocki)
PHOTO: Sue Ogrocki/AP
President Donald Trump applauds the audience after speaking at the National Rifle Association annual convention in Dallas, Friday, May 4, 2018. (AP Photo/Sue Ogrocki)
Now playing
02:37
Trump's complex relationship with guns
FILE - In this June 25, 2010, file photo Britain's Prince Harry fires a Colt M4 assault riffle on a United States Military Academy range in West Point, N.Y.  The Defense Department is searching for the successor to the M4 combat rifle and gun makers are loading with lobbyists to win the work. Colt Defense of West Hartford, Conn., had an exclusive deal to provide M4s to the U.S. military and didnt need a hired gun looking out for its interests in Washington. (AP Photo/Chad Rachman, Pool, File)
PHOTO: Chad Rachman/POOL NEW YORK POST/ASSOCIATED PRESS
FILE - In this June 25, 2010, file photo Britain's Prince Harry fires a Colt M4 assault riffle on a United States Military Academy range in West Point, N.Y. The Defense Department is searching for the successor to the M4 combat rifle and gun makers are loading with lobbyists to win the work. Colt Defense of West Hartford, Conn., had an exclusive deal to provide M4s to the U.S. military and didnt need a hired gun looking out for its interests in Washington. (AP Photo/Chad Rachman, Pool, File)
Now playing
01:40
History of the modern assault-style rifle
PHOTO: CNN photo illustration
Now playing
01:58
Flaws in gun background check system cost lives
NS Slug: FL: PUBLIX DIE-IN HELD AGAINST CANDIDATE ADAM PUTNAM  Synopsis: Footage of several Marjory Stoneman Douglas students participating in a protest at a Coral Springs, FL Publix  Video Shows: - Footage of several Marjory Stoneman Douglas students participating in a protest at a Coral Springs, FL Publix by drawing chalk outlines in the parking lot and lied down for exactly 12 minutes in the store. - MSD student David Hogg called for a boycott of Publix due to them donating to gubernatorial candidate Adam Putnam, who has an "A" rating from the NRA.   Keywords: FLORIDA PUBLIX PROTEST NRA GUN SUPPORT
PHOTO: WSVN
NS Slug: FL: PUBLIX DIE-IN HELD AGAINST CANDIDATE ADAM PUTNAM Synopsis: Footage of several Marjory Stoneman Douglas students participating in a protest at a Coral Springs, FL Publix Video Shows: - Footage of several Marjory Stoneman Douglas students participating in a protest at a Coral Springs, FL Publix by drawing chalk outlines in the parking lot and lied down for exactly 12 minutes in the store. - MSD student David Hogg called for a boycott of Publix due to them donating to gubernatorial candidate Adam Putnam, who has an "A" rating from the NRA. Keywords: FLORIDA PUBLIX PROTEST NRA GUN SUPPORT
Now playing
01:18
Protesters hold 'die-in' at grocery store
Now playing
02:03
Activists, NRA wage ad war over gun reform
Now playing
00:57
Newtown student: This is why we're walking out
WASHINGTON, DC - JUNE 22: (AFP OUT) Ivanka Trump participates during  the American Leadership in Emerging Technology Event in the East Room of the White House June 22, 2017 in Washington, DC. (Photo by Olivier Douliery-Pool/Getty Images)
PHOTO: Olivier Douliery/Pool/Getty Images
WASHINGTON, DC - JUNE 22: (AFP OUT) Ivanka Trump participates during the American Leadership in Emerging Technology Event in the East Room of the White House June 22, 2017 in Washington, DC. (Photo by Olivier Douliery-Pool/Getty Images)
Now playing
01:36
Ivanka Trump: Arming teachers 'not a bad idea'
buying guns online orig nws_00003310.jpg
buying guns online orig nws_00003310.jpg
Now playing
01:55
What the law says about buying guns online
(CNN) —  

After finding a gun in a sofa at IKEA, a child fired the loaded weapon in the store, prompting an investigation of the incident.

Earlier that day, a customer at the Fishers, Indiana, store sat down on the couch to test it out, police said.

Sgt. Tom Weger with the Fishers Police Department told CNN that “a customer accidentally dropped the gun into a couch and when he got up, he didn’t realize that the gun had fallen off of his person.”

“A child found the gun in the couch after he resumed shopping and subsequently fired the gun,” Weger said.

The boy, who is 6 years old, was not hurt, nor was anyone else, Weger said.

Police have “forwarded the information to the Hamilton County Prosecutor’s Office and they will review the case and decide what charges if any are appropriate,” Weger added.

The store stayed open after the incident, CNN affiliate WTTV reported.

An IKEA spokesperson said in a statement that customer safety and security is the company’s top priority.

“We take this incident very seriously and we have offered the family of the child involved our sincerest apologies,” the statement said.

In its statement, IKEA said it holds regular safety walks and audits, and that it has a strict no weapons policy. The store also said it is cooperating with police in its investigation.

According to Indiana law, a license is required to carry a handgun. It’s unclear whether the man had a permit.

Weger told WTTV that it’s important to be responsible when owning a gun.

“It’s important to remember that if you are going to carry a firearm on your person, that you make sure you’re under control of it at all times. It’s just part of gun ownership, responsible gun ownership,” he said.

CNN’s Janet DiGiacomo contributed to this report.