@@ -4640,7 +4640,7 @@ class System_Photo_Save(ListView):
pic_2 = request.POST.get('pic_2')
if pic_1:
name = pic_1
- elif pic2:
+ elif pic_2:
name = pic_2
SystemPhoto.objects.create(name=name,pic_1=pic_1,pic_2=pic_2)
return HttpResponse("1")