blog data

This commit is contained in:
CHIEFSOFT\ameye
2024-09-24 07:07:06 -04:00
parent d5e05cb66d
commit dc089be9c6
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -254,10 +254,11 @@ long cron_email(long mailtype, CVars in, CVars &out) {
for (int i = 0, n = pgsql_num_rows(res); i < n; i++) {
x["color"] = "FFFFFF";
in["color"] = "FFFFFF";
if (c > 0) {
in["color"] = "ebfaeb";
}
in["color"].set_valid( true );
map<const char*, const char*>f = pgsql_fetch_assoc(res, i);
if (f.empty()) continue;
+2 -1
View File
@@ -48,10 +48,11 @@ class WrenchBlog extends BaseController
// echo "EXYTACT INPUT DATA HERE";
$raw_json = file_get_contents('php://input');
$in = json_decode($raw_json, true);
log_message('critical', "Into BlogData-> ".serialize( $in['blog_id']) );
log_message('critical', "BLOG DATA CALL ********* ".serialize($in) );
if (isset($in['blog_id'])){
log_message('critical', "BlogData-> ".$in['blog_id'] );
$blog_id = (int) $in['blog_id'];
}