Bonifacio, 29, injured himself while leading off the game against the Pittsburgh Pirates on Thursday night. He hit a ground ball to the shortstop but immediately went down after swinging. He was helped off the field with a rib cage injury. Bonifacio was slumping after a hot start to the season, hitting .266 overall.
Sweeney, 29, has been out of the lineup since early May after injuring his hamstring. He was in the midst of a rehab assignment with Single-A Kane County when Bonifacio went down. He's hitting .200 in 20 games this season.
Sweeney is in the lineup batting second on Friday night against the Philadelphia Phillies.