Global Weak Solutions for a Shallow Water Equation