Fix undefined variable $admin