blog data
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user