diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/std_string_utils.cpp | 2 | ||||
-rw-r--r-- | utils/std_string_utils.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/std_string_utils.cpp b/utils/std_string_utils.cpp index 7a1e6b61b9..b94670df7e 100644 --- a/utils/std_string_utils.cpp +++ b/utils/std_string_utils.cpp @@ -339,7 +339,7 @@ std::string utils::text::source_get_value2(std::string* data, const char *term, return ret;
}
-std::string utils::text::source_get_form_data(std::string* data, boolean hiddenOnly)
+std::string utils::text::source_get_form_data(std::string* data, bool hiddenOnly)
{
const char *search = hiddenOnly ? "<input type=\"hidden\"" : "<input";
std::string values;
diff --git a/utils/std_string_utils.h b/utils/std_string_utils.h index d9c1b4923a..db4fca6f54 100644 --- a/utils/std_string_utils.h +++ b/utils/std_string_utils.h @@ -71,7 +71,7 @@ namespace utils std::string trim(const std::string &data, bool rtrim = false);
std::string source_get_value(std::string* data, unsigned int argument_count, ...);
std::string source_get_value2(std::string* data, const char *term, const char *endings, bool wholeString = false);
- std::string source_get_form_data(std::string* data, boolean hiddenOnly = false);
+ std::string source_get_form_data(std::string* data, bool hiddenOnly = false);
std::string rand_string(int len, const char *chars = "0123456789" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz", unsigned int *number = NULL);
void explode(std::string str, const std::string &separator, std::vector<std::string>* results);
void append_ordinal(unsigned long value, std::string* data);
|