Homec4science

Fix an issue where Phame could post to the wrong blog

Authored by epriestley <git@epriestley.com> on Jan 2 2016, 14:16.

Description

Fix an issue where Phame could post to the wrong blog

When you getInt() an array, PHP decides the array has value 1. This would
cause us to post to blog #1 incorrectly. I didn't catch this locally because
I happened to be posting to blog #1.

Stop us from interpreting array values as 1, and fix blog interpretation.

This approach is a little messy (projects has the same issue) but I'll see
if I can clean it up in some future change.

Auditors: chad

Details

Committed
epriestley <git@epriestley.com>Jan 2 2016, 14:20
Pushed
aubortJan 31 2017, 17:16
Parents
rPHedcc3232aabc: Remove calls to getCallsign() in bin/repository scripts
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH2328e739b760: Fix an issue where Phame could post to the wrong blog (authored by epriestley <git@epriestley.com>).Jan 2 2016, 14:20