forked from GNUsocial/gnu-social
		
	handle seconds argument to SUP
darcs-hash:20081026150623-5ed1f-2aff71bf8faf4957b09d968d60851b4f74f738c4.gz
This commit is contained in:
		@@ -976,7 +976,11 @@ function common_fancy_url($action, $args=NULL) {
 | 
				
			|||||||
		 default: return common_simple_url($action, $args);
 | 
							 default: return common_simple_url($action, $args);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	 case 'sup':
 | 
						 case 'sup':
 | 
				
			||||||
		return common_path('main/sup');
 | 
							if ($args && isset($args['seconds'])) {
 | 
				
			||||||
 | 
								return common_path('main/sup?seconds='.$args['seconds']);			
 | 
				
			||||||
 | 
							} else {
 | 
				
			||||||
 | 
								return common_path('main/sup');
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
	 default:
 | 
						 default:
 | 
				
			||||||
		return common_simple_url($action, $args);
 | 
							return common_simple_url($action, $args);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user