Edits Pull #91 by ac3xx to use $db->short_name

As suggested by Nathan :).