function simpleadsid_to_arg in SimpleAds 7
Helper function. Return node id from arguments (used in hook_menu).
File
- includes/
simpleads.helper.inc, line 167 - SimpleAds Helper functions.
Code
function simpleadsid_to_arg($arg) {
if ($arg == '%') {
return 'none';
}
else {
return $arg;
}
}