Commit fad5b436 authored by Dmitriy's avatar Dmitriy Committed by Vitaly Lipatov

Fix site editing

parent aefe3d4f
...@@ -172,6 +172,7 @@ class Site extends CI_Model { ...@@ -172,6 +172,7 @@ class Site extends CI_Model {
$this->db->from("sites"); $this->db->from("sites");
$count = $this->db->count_all_results(); $count = $this->db->count_all_results();
if ($count == 0) { if ($count == 0) {
return true; return true;
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment